#Preventing Blocks from turning into Dirt
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 If nobody has answered you by <t:1750167410:t>, feel free to use the Summon Helpers button to ping our helper team.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
Not really a data pack feature. You'd have to do janky stuff like summoning marker entities at all of those blocks
I can change the hardness/mine-ability with a datapack, correct?
Can I change what will drop when mined? Like could I make orange glazed terracotta drop dirt if mined?
No, blocks are not data driven. You cannot change their hardness
You can change what they drop with loot tables, of course
Do you have a recommendation on how to prevent players from being able to mine certain blocks?
I'll ignore that that's a totally different question from the thread subject
But you'll have to provide more details. What exactly do you want to prevent mining of? Under what conditions?
We have a build that we don’t want players harvesting blocks from the build itself. Only from designated dig sites.
Probably should just put them into adventure mode when they're near that build then
But then they won’t be able to interact with buttons, trapdoors and stuff right?
I think they still can, but if not, then you'd need to give them an item to interact with them
I believe you can use interaction entities to block the players interaction of any volume you specify
This will include trapdoors and buttons
There is a way you can let the player mine certain blocks and not others with a tool component
I think this was the way I panned on doing this it, but got it mixed up thinking I was going to do block wise instead.
[I am currently stuck out of town due to car troubles and I have caught a chest cold. I’m hoping to revisit this post early next week to confirm if I have found solutions or if I need more help.]