Can you put diamond armor on skeletons via command using Pocket Edition?
I wanted to try and experiment with long jumps and bow spleef using arrows, but for that, I need skeletons.
I want to make sure that they don't take much damage with their bows and will remain with Flame enchanted bows and diamond armor
I found this question that would've helped me. But since I'm using Pocket Edition (Bedrock Mobile), it doesn't work.
Reasons?:
- IDs on items doesn't actually exist in PE, only in Java.
- The JSON line doesn't work because of the spacing. The formula of the
/summon
command is/summon Entity x y z
and it doesn't give theEquipment
form (probably because it is only supported in Java Edition). - Even if replacing the IDs by the supported names of the items from the
/give
command (an example would bediamond_helmet
), it won't work.
Is there a way how I can do it in Pocket Edition using a command?
Do:
/replaceitem entity @e[type=skeleton,r=5] slot.armor.chest 0 diamond_chestplate 1 0
That puts a diamond chestplate on the skeleton you are standing on. Use the following slots for the different armor pieces:
-
slot.armor.head
-
slot.armor.chest
-
slot.armor.legs
-
slot.armor.feet
Replace diamond_chestplate
with the correct armor type. Note: Minecraft will only allow items that are supposed to be on the player (i.e. armor, elytra, pumpkin, heads) on the player and it will fail if you try to have it wear something like a block.