@minecraft/server
    Preparing search index...

    Class WorldAfterEventsBeta

    Contains a set of events that are available across the scope of the World.

    Index

    Properties

    This event fires when a block container is closed.

    This property can be read in early-execution mode.

    This event fires when a block container is opened.

    This property can be read in early-execution mode.

    This event fires for each BlockLocation destroyed by an explosion. It is fired after the blocks have already been destroyed.

    This property can be read in early-execution mode.

    This event fires when a button is pushed.

    This property can be read in early-execution mode.

    This event is triggered after a chat message has been broadcast or sent to players.

    This property can be read in early-execution mode.

    This event is fired when an entity event has been triggered that will update the component definition state of an entity.

    This property can be read in early-execution mode.

    This event fires when an effect, like poisoning, is added to an entity.

    This property can be read in early-execution mode.

    This event fires when an entity container is closed.

    This property can be read in early-execution mode.

    This event fires when an entity container is opened.

    This property can be read in early-execution mode.

    This event fires when an entity dies.

    This property can be read in early-execution mode.

    This property can be read in early-execution mode.

    This event fires when entity health changes in any degree.

    This property can be read in early-execution mode.

    This event fires when an entity hits (that is, melee attacks) a block.

    This property can be read in early-execution mode.

    This event fires when an entity hits (that is, melee attacks) another entity.

    This property can be read in early-execution mode.

    This event fires when an entity is hurt (takes damage).

    This property can be read in early-execution mode.

    This event fires when an entity drops items.

    This property can be read in early-execution mode.

    This event fires when an entity picks up items.

    This property can be read in early-execution mode.

    Fires when an entity is loaded.

    This property can be read in early-execution mode.

    Fires when an entity is removed (for example, potentially unloaded, or removed after being killed).

    This property can be read in early-execution mode.

    This event fires when an entity is spawned.

    This property can be read in early-execution mode.

    This event is fired after an explosion occurs.

    This property can be read in early-execution mode.

    This event fires when a world.gameRules property has changed.

    This property can be read in early-execution mode.

    This event fires when a chargeable item completes charging.

    This property can be read in early-execution mode.

    This event fires when a chargeable item is released from charging.

    This property can be read in early-execution mode.

    This event fires when a chargeable item starts charging.

    This property can be read in early-execution mode.

    This 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.

    This property can be read in early-execution mode.

    This event fires when a chargeable item stops charging.

    This property can be read in early-execution mode.

    This 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.

    This property can be read in early-execution mode.

    This event fires when an item is successfully used by a player.

    This property can be read in early-execution mode.

    A lever has been pulled.

    This property can be read in early-execution mode.

    This event is an internal implementation detail, and is otherwise not currently functional.

    This property can be read in early-execution mode.

    This event is triggered when a pack setting is changed.

    This property can be read in early-execution mode.

    This event fires when a piston expands or retracts.

    This property can be read in early-execution mode.

    This event fires for a block that is broken by a player.

    This property can be read in early-execution mode.

    This event fires when an InputButton state is changed.

    This property can be read in early-execution mode.

    Fires when a player moved to a different dimension.

    This property can be read in early-execution mode.

    This property can be read in early-execution mode.

    This property can be read in early-execution mode.

    playerHotbarSelectedSlotChange: PlayerHotbarSelectedSlotChangeAfterEventSignal

    This event fires when a player's selected slot changes.

    This property can be read in early-execution mode.

    This event fires when a player's InputMode changes.

    This property can be read in early-execution mode.

    playerInputPermissionCategoryChange: PlayerInputPermissionCategoryChangeAfterEventSignal

    This event fires when a players input permissions change.

    This property can be read in early-execution mode.

    An event for when a player interacts with a block.

    This property can be read in early-execution mode.

    This event fires when a player interacts with an entity.

    This property can be read in early-execution mode.

    This event fires when an item gets added or removed to the player's inventory.

    This property can be read in early-execution mode.

    This 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.

    This property can be read in early-execution mode.

    This event fires when a player leaves a world.

    This property can be read in early-execution mode.

    This event fires for a block that is placed by a player.

    This property can be read in early-execution mode.

    This 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.

    This property can be read in early-execution mode.

    This property can be read in early-execution mode.

    An event for when a player uses a named name tag on an entity.

    This property can be read in early-execution mode.

    A pressure plate has popped back up (i.e., there are no entities on the pressure plate.)

    This property can be read in early-execution mode.

    A pressure plate has pushed (at least one entity has moved onto a pressure plate.)

    This property can be read in early-execution mode.

    This event fires when a projectile hits a block.

    This property can be read in early-execution mode.

    This event fires when a projectile hits an entity.

    This property can be read in early-execution mode.

    A target block was hit.

    This property can be read in early-execution mode.

    A trip wire was tripped.

    This property can be read in early-execution mode.

    This event will be triggered when the weather changes within Minecraft.

    This property can be read in early-execution mode.

    This property can be read in early-execution mode.