Items & inventories · Value
Remove the name
Take off a custom name, so the item shows its normal name again. Everything else about it stays the same.
m.item.clear_name
In a flow
“When a player uses a command → Item in hand → Remove the name → Set a slot.”
When a player uses a command → Item in hand → Remove the name → Set a slot.
What it does
Take off a custom name, so the item shows its normal name again. Everything else about it stays the same. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 1 value later steps can use. Find it under Items & inventories in the palette.
When to use it
Use it when the flow needs to: take off a custom name, so the item shows its normal name again. Everything else about it stays the same.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- Item Item
-
The item: wire one in, like Item in hand from Item in hand.
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.
Values it gives
- Item Item
-
The item. Wire it into Give an item stack or another item step. e.g. 1× Diamond Sword
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more