ItemComponent - repair cost component (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.6.0

Syntax

[the] repair cost component of %itemstacks/itemtypes/slots%

Description

The number of experience levels to add to the base level cost when repairing, combining, or renaming this item with an anvil. Must be a non-negative integer, defaults to 0.

Examples

set repair cost component of player's tool to 3
add 2 to repair cost component of player's tool
subtract 1 from repair cost component of player's tool
reset repair cost component of player's tool
delete repair cost component of {_item}
if repair cost component of player's tool > 0:

View source