You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
1.6 KiB
94 lines
1.6 KiB
These are the functions which can be called on a minecraft:inventory_changed criteria
|
|
trigger.
|
|
|
|
|
|
|
|
addItem:
|
|
Arguments:
|
|
ItemBlockData
|
|
Usage:
|
|
item data
|
|
Notes:
|
|
Adds a required item.
|
|
|
|
setOccupiedMinMax:
|
|
Arguments:
|
|
float, float
|
|
Usage:
|
|
min, max
|
|
Notes:
|
|
Sets the min and max values for occupied inventory slots.
|
|
|
|
setOccupiedMin:
|
|
Arguments:
|
|
float
|
|
Usage:
|
|
min
|
|
Notes:
|
|
Sets the min value for occupied inventory slots.
|
|
|
|
setOccupiedMax:
|
|
Arguments:
|
|
float
|
|
Usage:
|
|
max
|
|
Notes:
|
|
Sets the max value for occupied inventory slots.
|
|
|
|
setFullMinMax:
|
|
Arguments:
|
|
float, float
|
|
Usage:
|
|
min, max
|
|
Notes:
|
|
Sets the min and max values for full inventory slots.
|
|
|
|
setFullMin:
|
|
Arguments:
|
|
float
|
|
Usage:
|
|
min
|
|
Notes:
|
|
Sets the min value for full inventory slots.
|
|
|
|
setFullMax:
|
|
Arguments:
|
|
float
|
|
Usage:
|
|
max
|
|
Notes:
|
|
Sets the max value for full inventory slots.
|
|
|
|
setEmptyMinMax:
|
|
Arguments:
|
|
float, float
|
|
Usage:
|
|
min, max
|
|
Notes:
|
|
Sets the min and max values for empty inventory slots.
|
|
|
|
setEmptyMin:
|
|
Arguments:
|
|
float
|
|
Usage:
|
|
min
|
|
Notes:
|
|
Sets the min value for empty inventory slots.
|
|
|
|
setEmptyMax:
|
|
Arguments:
|
|
float
|
|
Usage:
|
|
max
|
|
Notes:
|
|
Sets the max value for empty inventory slots.
|
|
|
|
setCount:
|
|
Arguments:
|
|
int
|
|
Usage:
|
|
count
|
|
Notes:
|
|
Sets the number of times this criteria must be completed before it counts towards advancement progress.
|
|
|