Provides a set of events that fire within the broader scripting system within Minecraft.
Gets all event subscriptions to this event type.
The event subscriptions.
Creates a new event subscription.
This function can't be called in read-only mode.
This function can be called in early-execution mode.
If the event callback is an empty string.
If the event callback is not a string.
If the event callback is not a valid stringified JavaScript function.
Deletes the provided event subscription.
If the subscription is not an instance of SubscribedEvent.
If the subscription is not for the system.afterEvents.scriptEventReceive event.
system.afterEvents.scriptEventReceive
An event that fires when a /scriptevent command is set. This provides a way for commands and other systems to trigger behavior within script.
This property can be read in early-execution mode.
Provides a set of events that fire within the broader scripting system within Minecraft.
Implements