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 1


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.


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}
  • thank you i´ll test it out and see if it works
    – D3T0NA
    Commented Nov 2, 2019 at 18:08
  • You are welcome. Would you mind telling me what are you working on or whenever it is finished letting me know? I'm kinda curious...
    – BunnyMerz
    Commented Nov 2, 2019 at 20:55
  • im creating a table rpg map and im building a city, using this specific armor stand to decorate a anvil in the blacksmith house
    – D3T0NA
    Commented Nov 2, 2019 at 22:12
  • and i tested out the command, it still let´s you pick the iron sword
    – D3T0NA
    Commented Nov 2, 2019 at 22:13
  • 1
    thank you, if you want to look at what i am doing you´re welcome at my server :)
    – D3T0NA
    Commented Nov 2, 2019 at 23:02

You must log in to answer this question.

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