BetaPrivateconstructorReadonlyblockThis property can't be read in early-execution mode.
ReadonlyinputThe number of addressable input slots for getInputItem, setInputItem, setInputSlotEnabled, and getInputSlotEnabled.
This property can't be read in early-execution mode.
ReadonlyisReturns whether the component is valid. A component is considered valid if its owner is valid, in addition to any addition to any additional validation required by the component.
This property can't be read in early-execution mode.
ReadonlytypeThis property can't be read in early-execution mode.
Static ReadonlycomponentThe zero-based input slot index.
The item stack in the input slot, or undefined if the slot is empty.
This function can't be called in early-execution mode.
The zero-based input slot index.
Whether the input slot is enabled.
This function can't be called in early-execution mode.
The output item stack, or undefined if the current inputs do not produce an item.
This function can't be called in early-execution mode.
The zero-based input slot index.
Optionalitem: ItemStack
The item stack to place in the slot, or undefined to clear the slot.
This function can't be called in early-execution mode.
This function can't be called in early-execution mode.
Represents a block component that provides access to recipe processing inputs and output.
Source