Beta
Protected
constructorFunction that handles the spawn event.
Method to register an event handler for what happens when an entity spawns.
Method to register an event handler for what happens when an entity spawns.
Original function that was passed into the subscribe event, that is to be unregistered.
Unregisters a method that was previously subscribed to the subscription event.
This function can throw errors.
Registers a script-based event handler for handling what happens when an entity spawns.