5

Is there any way to wear particular armor within one command to be used in the chat (i.e. without command block)?

The several commands look like below -

replaceitem entity @s slot.armor.head 0 iron_helmet
replaceitem entity @s slot.armor.chest 0 iron_chestplate
replaceitem entity @s slot.armor.legs 0 iron_leggings

I am reading the Wiki about /execute and run commands - https://minecraft.gamepedia.com/Commands/execute. It sounds like it is possible. But I don't understand how to apply it. And I am not sure if run will work with Bedrock Edition.

2
  • 1
    Which edition are you actually playing? You've linked to Java Edition-specific documentation on the Minecraft Wiki, but tagged the question as minecraft-bedrock-edition
    – pppery
    Jun 10 '20 at 19:30
  • @pppery, Bedrock Edition. The page I linked is about Java- as well as Bedrock Edition. I see now that run command is specific to Java. Does it mean there is no way to do what I need with one command?
    – LA_
    Jun 11 '20 at 7:58
1

/execute is not what you are looking for. Even in Java Edition, you can only run one command with it.

You can consider creating a command chain. Please consider visiting this post for info on how you can create a command chain. With a command chain, all the commands that are part of it will execute at the same time, but in order. I hope that this will suffice for running multiple commands at once.

If a command chain is not satisfactory, there's not much else you can do.

2
  • Thank you. Looks like the command chain is possible only with the command block, but I should execute several commands on console :(
    – LA_
    Jun 11 '20 at 18:38
  • I know that. I work with Minecraft thru Code Connection (not directly). So I can initiate command only. If I place command block first, then another command would be required to setup it.
    – LA_
    Jun 12 '20 at 9:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.