How to set other player's armor in Minecraft
I'm making an MCBE behavior pack which adds kits via functions (functions are to be executed by command blocks). I want to make it so that the player doesn't have to equip armor; instead, it automatically slots the armor into the required places. I don't know any sort of command for that, and I can't find anything through Google.
Best Answer
If your still interested the command /item replace would be the way to do it on java on bedrock I believe there's a /replace item command that would work similarly
I have 4 command blocks to do this bottom command block: Impulse Unconditional Needs redstone
item replace entity @a armor.head with minecraft:leather_helmet
second command block: chain conditional always active
item replace entity @a armor.chest with minecraft:leather_chestplate
third command block: same as seccond
item replace entity @a armor.legs with minecraft:leather_leggings
fourth command block: same as second
item replace entity @a armor.head with minecraft:leather_boots
Pictures about "How to set other player's armor in Minecraft"
How do you put armor on someone else in Minecraft?
To equip players with armor or other items, you can use the /replaceitem command. The syntax of /replaceitem for replacing items in an inventory is /replaceitem entity <selector> <slot> <item> [amount] [data] [dataTag] . Simply replace <player> with the player or entity you want to equip the armor on.ATP Stars \
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pixabay, Leah Kelley, Charlotte May, Asad Photo Maldives