Other events in @minecraft/server.
44 pages in @minecraft/server.
Events
Section titled “Events”
ShutdownEvent InterfaceThe plugin is about to be unloaded, by a reload or the server stopping.Event Interface
system.beforeEvents.shutdown
Startupsystem.beforeEvents.startup
Interfaces
Section titled “Interfaces”
CancellableEvent InterfaceBefore events run while the server waits, and can change what happens.
ItemUseOverTimeEvent InterfaceAn item used over time: a food, drink, bow or trident.
Options
Section titled “Options”Signals
Section titled “Signals”Typed only
Section titled “Typed only”Declared so plugins written against the full Mojang API type-check. Most are not backed by Basalt yet.
BlockComponentBlockBreakEvent Class
BlockComponentBlockStateChangeEvent Class
BlockComponentEntityEvent Class
BlockComponentEntityFallOnEvent Class
BlockComponentOnPlaceEvent Class
BlockComponentPlayerBreakEvent Class
BlockComponentPlayerInteractEvent Class
BlockComponentRandomTickEvent Class
BlockComponentRedstoneUpdateEvent Class
BlockComponentStepOffEvent Class
BlockComponentStepOnEvent Class
BlockComponentTickEvent Class
BlockContainerAccessEventOptions Interface
BlockEvent Class
BlockEventOptions Interface
EntityContainerAccessEventOptions Interface
EntityDataDrivenTriggerEventOptions Interface
EntityEventOptions Interface
EntityHealEventOptions Interface
EntityItemDropEventOptions Interface
EntityItemPickupEventOptions Interface
EntitySneakingChangedEventOptions Interface
EntityTamedEventOptions Interface
HotbarEventOptions Interface
InputEventOptions Interface
InventoryItemEventOptions Interface
ItemCompleteUseEvent Class
ItemComponentCompleteUseEvent Class
ItemComponentConsumeEvent Class
ItemComponentHitEntityEvent Class
ItemComponentMineBlockEvent Class
ItemComponentUseEvent Class
ItemComponentUseOnEvent Class
ItemUseOnEvent Class
PlayerBreakingBlockEventOptions Interface
PlayerSwingEventOptions Interface
WorldClockEventOptions Interface
WorldClockTimeMarkerEventOptions Interface