I'm making a server, and there is a bunch of armor stand statues, but all the players will break them. How do I stop them from taking the armor?

  • Do the armour stands need to be visible or are they just there for commands? If it's the latter, encasing them in bedrock would work. – Studoku- Reinstate Monica Feb 20 '16 at 1:38
  • They are for display. I thought about encasing them in barriers, but it would be way to blocky for what I need. – Kylun11 Feb 20 '16 at 1:40

To stop players breaking them, make the ArmorStand invulnerable:

/entitydata @e[type=ArmorStand,r=5] {Invulnerable:1b}

To prevent players from taking the items on the ArmorStand, use the DisabledSlots tag:

/entitydata @e[type=ArmorStand,r=5] {DisabledSlots:2039583}
  • Does it matter whats in the DisabledSlots tag? – Kylun11 Feb 20 '16 at 3:20
  • @Kylun11 Yes, it states what sort of interactions are possible with each equipment slot. The wiki has a list of input values to use here, but note that 1.9 has changed what these values do. – Skylinerw Feb 20 '16 at 3:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.