Items & inventories · Step
Put on armour
Put an item in one of a player's armour slots, like a helmet, or take it off.
m.inv.set_armor
In a flow
“When a player joins → Put on armour: helmet, Make an item minecraft:golden_helmet.”
When a player joins → Put on armour: helmet, Make an item minecraft:golden_helmet.
What it does
Put an item in one of a player's armour slots, like a helmet, or take it off. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Items & inventories in the palette.
When to use it
Use it when the flow needs to: put an item in one of a player's armour slots, like a helmet, or take it off.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Player Player
-
Leave unwired for the player who started the flow, or wire one in, like Player from When a player joins.
What goes there: Type it in the side panel, or wire in a player. e.g. Alex
If it's empty: Optional. Left empty and unwired, the step runs without it.
- Item Item
-
What to wear: wire one in, like Item from Make an item. Unwired takes it off.
What goes there: Type it in the side panel, or wire in an item. e.g. 3× Diamond
If it's empty: Optional. Left empty and unwired, the step runs without it.