Event System
Hook into game events with @EventHandler. Player connections, chat, combat, and more.
Item Events
5DropItemEvent
Cancellable
ECS event fired when item is dropped. Cancellable.
DropItemEvent.Drop
Cancellable
Item being dropped
DropItemEvent.PlayerRequest
Cancellable
Player requests item drop
ItemContainerChangeEvent
Fired when an item container changes.
SwitchActiveSlotEvent
Cancellable
Hotbar slot changed