Recipes.WorkbenchFieldAPI
Index
Methods
decreaseFieldSlot
Decreases item count in the specified slot, if possible.
Parameters
slot: number
slot index
Returns void
getFieldSize
- since: 2.2.1b106
Returns number
getFieldSlot
Parameters
slot: number
slot index
Returns Slot
Workbench slot instance by slot index.
isPrevented
Returns boolean
true, if crafting event was prevented,falseotherwise.
prevent
Prevents crafting event.
Returns void
Object used to work with workbench field in the craft function.