Chain Command Blocks Not Equipping Armor?
//ads -- adsterra.com -- native banner
?>
The following command is used to force the player to equip armor:
/replaceitem entity @p[type=Player] slot.armor.head chainmail_helmet 1 0 {display:{Name:"Archer Helmet",Lore:["You feel somewhat faster, and resistant to ranged damage"]},AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.10,Operation:0,UUIDMost:24682,UUIDLeast:195471},,{AttributeName:"generic.armor",Name:"armor",Slot:"head",Amount:2.0,Operation:0,UUIDMost:100,UUIDLeast:100}],ench:[{id:0,lvl:2},{id:4,lvl:2}],Unbreakable:1}
And when run in a command block, it works 100% fine, but when it is part of the chain, it gives the output saying:
[14:09:34] Replaced slot slot.armor.head with 1 * [Archer Helmet]
However no changes were made to the player's GUI. Any ideas why this would happen? I'm playing Minecraft 1.10
Best Answer
First make sure the chain command block is set to "always active" and in a straight line with the other leading command block. Also the chain has to start with a regular command block then the chain of chain command blocks.
Pictures about "Chain Command Blocks Not Equipping Armor?"



How do chains work on command blocks?
Chain command blocks are activated when a command block pointing into it is activated. Repeat command blocks are activated once every in-game tick, as long as they have a redstone signal. Minecraft has 20 ticks per second.How do you equip armor with a command block?
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.How do you attach a chain to a command block?
The command to get a command block is: "/give @s command_block" or "/setblock ~ ~ ~ command_block". A chain command block is essentially the opposite of an impulse command block. Impulse command blocks will only execute once when it is activated. Chain command blocks will execute every time it is triggered.Do command blocks work with pressure plates?
To activate the command block: If the redstone device is a lever, you need to toggle the lever. If the redstone device is a button, you need to push the button. If the redstone device is a pressure plate, you need to stand on the pressure plate.Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pixabay, Lum3n, cottonbro, Edwin Ariel Valladares
