This question already has an answer here:
- How do I create unbreakable blocks? 7 answers
I'm having a dilemma, I am trying to make a Prison Game in vanilla Minecraft, but can't make a part work.
I give the players this command to stop them from breaking blocks
/gamemode a @a[r=40] When they enter onto the logs they are switched to survival
/gamemode s @a[r=17]
This is my problem: From the logs, where they are in survival mode they can still reach the wood planks and destroy them up until the lime green wool
I hoped the gamemode switch would solve this, but unfortunately it didn't quite do it. So I was thinking there may be a way to stop this and I need them to be unbreakable or something like it.