|
|
|
These are the functions which can be called on a minecraft:item_durability_changed
|
|
|
|
criteria trigger.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setDeltaMin:
|
|
|
|
Arguments:
|
|
|
|
float
|
|
|
|
Usage:
|
|
|
|
min
|
|
|
|
Notes:
|
|
|
|
Sets the min delta.
|
|
|
|
|
|
|
|
setDeltaMinMax:
|
|
|
|
Arguments:
|
|
|
|
float, float
|
|
|
|
Usage:
|
|
|
|
min, max
|
|
|
|
Notes:
|
|
|
|
Sets the min and max delta.
|
|
|
|
|
|
|
|
setDurabilityMin:
|
|
|
|
Arguments:
|
|
|
|
float
|
|
|
|
Usage:
|
|
|
|
min
|
|
|
|
Notes:
|
|
|
|
Sets the min item durability.
|
|
|
|
|
|
|
|
setDurabilityMax:
|
|
|
|
Arguments:
|
|
|
|
float
|
|
|
|
Usage:
|
|
|
|
max
|
|
|
|
Notes:
|
|
|
|
Sets the max item durability.
|
|
|
|
|
|
|
|
setDeltaMax:
|
|
|
|
Arguments:
|
|
|
|
float
|
|
|
|
Usage:
|
|
|
|
max
|
|
|
|
Notes:
|
|
|
|
Sets the max delta.
|
|
|
|
|
|
|
|
setItem:
|
|
|
|
Arguments:
|
|
|
|
ItemBlockData
|
|
|
|
Usage:
|
|
|
|
item data
|
|
|
|
Notes:
|
|
|
|
Sets the required item.
|
|
|
|
|
|
|
|
setDurabilityMinMax:
|
|
|
|
Arguments:
|
|
|
|
float, float
|
|
|
|
Usage:
|
|
|
|
min, max
|
|
|
|
Notes:
|
|
|
|
Sets the min and max item durability.
|
|
|
|
|
|
|
|
setCount:
|
|
|
|
Arguments:
|
|
|
|
int
|
|
|
|
Usage:
|
|
|
|
count
|
|
|
|
Notes:
|
|
|
|
Sets the number of times this criteria must be completed before it counts towards advancement progress.
|
|
|
|
|