BetaBeta
Beta
Beta
Tests if the registered item machine has a specific callback (event or handler).
The name of the callback.
Whether the item machine defines the specified callback.
StaticgetBeta
Get a registered item machine by its ID.
The ID of the item machine to get.
The registered item machine, or undefined if it does not exist.
Throws a PublicError of type PublicErrorType.InvalidState if this package has not been initialized (see init).
StaticgetBeta
Get an item machine registered by this pack by its ID.
The ID of the item machine to get.
The registered item machine, or undefined if it does not exist.
This will only include item machines that have been registered by this pack. If an item machine registered by this pack has been overriden by another pack, this will return the original version registered by this pack. Use RegisteredItemMachine.get to get item machines registered by any pack.
A registered item machine definition.
See
ItemMachineDefinition, registerItemMachine.