ItemComponent - Repairable (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.8.0
Syntax
repairable [component] items of %itemstacks/itemtypes/slots%Description
Represents the items/tags that will be used to repair an item in an anvil. See [**Repairable Component**](https://minecraft.wiki/w/Data_component_format#repairable) on McWiki for more details.
**Patterns**: `repairable items` = A list of items that are used. `repairable tag` = A single Minecraft item tag that is used.
**Changers**: - `set` = Set the items/tag to allow for repairing. - `reset` = Reset back to default state. - `delete` = Will delete any value (vanilla or not).
Examples
set {_items::*} to repairable items of player's tool
set {_tag} to repairable tag of player's tool
set repairable items of player's tool to diamond, iron ingot and emerald
set repairable tag of player's tool to minecraft item tag "diamond_tool_materials"
delete repairable tag of player's tool
reset repairable tag of player's tool