BetaBeta
The default name tag for this machine's entity.
Beta
The ID for this machine's entity.
Beta
The ID of this machine.
Beta
The max amount of each storage type in this machine.
Beta
Whether this machine has a persistent entity or not
Beta
Tests if the registered machine has a specific callback (event or handler).
The name of the callback.
Whether the machine defines the specified callback.
StaticforceBeta
Get a registered machine by its ID or throw an error if it doesn't exist.
The ID of the machine to get.
The registered machine.
Throws a PublicError of type PublicErrorType.NotRegistered if the machine does not exist in the registry.
Throws a PublicError of type PublicErrorType.InvalidState if this package has not been initialized (see init).
StaticgetBeta
Get a registered machine by its ID.
The ID of the machine to get.
The registered 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 a machine registered by this pack by its ID.
The ID of the machine to get.
The registered machine, or undefined if it does not exist.
This will only include machines that have been registered by this pack. If a machine registered by this pack has been overriden by another pack, this will return the original version registered by this pack. Use RegisteredMachine.get to get machines registered by any pack.
A registered machine definition.
See
MachineDefinition, registerMachine