3

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?

2
  • 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. Feb 20, 2016 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, 2016 at 1:40

1 Answer 1

4

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}
2
  • Does it matter whats in the DisabledSlots tag?
    – Kylun11
    Feb 20, 2016 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, 2016 at 3:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .