Beta Private constructorReadonly Beta blockThis event fires for each BlockLocation destroyed by an explosion. It is fired after the blocks have already been destroyed.
Readonly buttonThis event fires when a button is pushed.
Readonly Beta chatThis event is triggered after a chat message has been broadcast or sent to players.
Readonly Beta dataThis event is fired when an entity event has been triggered that will update the component definition state of an entity.
Readonly Beta effectThis event fires when an effect, like poisoning, is added to an entity.
Readonly Beta entityThis event fires when an entity dies.
Readonly Beta entityThis event fires when entity health changes in any degree.
Readonly Beta entityThis event fires when an entity hits (that is, melee attacks) a block.
Readonly Beta entityThis event fires when an entity hits (that is, melee attacks) another entity.
Readonly Beta entityThis event fires when an entity is hurt (takes damage).
Readonly Beta entityFires when an entity is loaded.
Readonly Beta entityFires when an entity is removed (for example, potentially unloaded, or removed after being killed).
Readonly Beta entityThis event fires when an entity is spawned.
Readonly Beta explosionThis event is fired after an explosion occurs.
Readonly Beta itemThis event fires when a chargeable item completes charging.
Readonly Beta itemFor custom items, this event is triggered when the fundamental set of defined components for the item change. Note that this event is only fired for custom data-driven items.
Readonly Beta itemThis event fires when a chargeable item is released from charging.
Readonly Beta itemThis event fires when a chargeable item starts charging.
Readonly Beta itemThis event fires when a player successfully uses an item or places a block by pressing the Use Item / Place Block button. If multiple blocks are placed, this event will only occur once at the beginning of the block placement. Note: This event cannot be used with Hoe or Axe items.
Readonly Beta itemThis event fires when a chargeable item stops charging.
Readonly Beta itemThis event fires when a player releases the Use Item / Place Block button after successfully using an item. Note: This event cannot be used with Hoe or Axe items.
Readonly Beta itemThis event fires when an item is successfully used by a player.
Readonly Beta itemThis event fires when an item is used on a block by a player.
Readonly leverA lever has been pulled.
Readonly Beta messageThis event is an internal implementation detail, and is otherwise not currently functional.
Readonly Beta pistonThis event fires when a piston expands or retracts.
Readonly Beta playerThis event fires for a block that is broken by a player.
Readonly Beta playerFires when a player moved to a different dimension.
Readonly Beta playerReadonly Beta playerReadonly playerThis event fires when a player joins a world. See also playerSpawn for another related event you can trap for when a player is spawned the first time within a world.
Readonly playerThis event fires when a player leaves a world.
Readonly Beta playerThis event fires for a block that is placed by a player.
Readonly playerThis event fires when a player spawns or respawns. Note that an additional flag within this event will tell you whether the player is spawning right after join vs. a respawn.
Readonly Beta pressureA pressure plate has popped back up (i.e., there are no entities on the pressure plate.)
Readonly Beta pressureA pressure plate has pushed (at least one entity has moved onto a pressure plate.)
Readonly Beta projectileThis event fires when a projectile hits a block.
Readonly Beta projectileThis event fires when a projectile hits an entity.
Readonly Beta targetA target block was hit.
Readonly Beta tripA trip wire was tripped.
Readonly Beta weatherThis event will be triggered when the weather changes within Minecraft.
Readonly Beta worldThis event fires when the script environment is initialized on a World. In addition, you can register dynamic properties within the scope of a world Initialize event.
Contains a set of events that are available across the scope of the World.