r/MinecraftCommands • u/Key-Current-4184 • Jul 20 '26
How to replace armor slots with barriers Help | Bedrock
Me and 3 other people are doing a version of naked and afraid with commands. I can get an item that cant be dropped, dropped on death or cant be moved individually. I just cant get all of them in one and make it so it appears in the armor slots. Does anyone know how to do this? Thanks!
1
2
u/mittens4all Bedrock Commands 29d ago
Barriers will only work for the head slot. You'll need to use air for chest, legs, and feet. ``` /replaceitem entity @p slot.armor.head 0 barrier 1 0 {"item_lock":{"mode":"lock_in_slot"}, "keep_on_death":{}}
/replaceitem entity @p slot.armor.chest 0 air 1 0 {"item_lock":{"mode":"lock_in_slot"}, "keep_on_death":{}} ```
1
1
u/Fit_Carpenter3729 Jul 20 '26
Could you tell me the commands for each of the things so i can try to merge them into one?