Celeb Glow
general | May 08, 2026

How to lock slot interaction to armor stands?

I have tried all i could possibly think off , there is a tag for locking slots but it does not work, i tried locking all slots, only weapon slots but it wont work, as soon as i click the armor stand i pick up the items. Is it due to my op or game mode?

/summon armor_stand ~ ~ ~ {Invisible:1b,Invulnerable:1b,PersistenceRequired:1b,NoGravity:1b,ShowArms:1b,ArmorItems:[{},{},{},{}],HandItems:[{},{id:"iron_sword",Count:1b}],DisabledSlots:65793,Pose:{LeftArm:[271f,0f,271f]}}

1 Answer

Your commmands avoid replacing and placing items in the armorstand inventory (Removing shouldn't work but it does for some odd reason). All you should change is the Disable slot number to 2039583

This link sends you to a great armorstand generator.

Edit2:

I got this one working for some odd reason.

/summon armor_stand ~ ~ ~ {NoGravity:1b,ShowArms:1,Invisible:1,Invulnerable:1,PersistenceRequired:1,HandItems:[{id:"minecraft:iron_sword",Count:1b},{}],Pose:{Body:[0f,0f,0f],LeftArm:[0f,0f,0f],RightArm:[271f,0f,271f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f],Head:[0f,0f,0f]},DisabledSlots:2039583}
10