Event System

Hook into game events with @EventHandler. Player connections, chat, combat, and more.

← Back to Events

SwitchActiveSlotEvent

Item Cancellable

com.hypixel.hytale.server.core.event.events.ecs

Hotbar slot changed

Fields

Field Type Getter
previousSlot int getPreviousSlot()
inventorySectionId int getInventorySectionId()
newSlot byte getNewSlot()
serverRequest boolean isServerRequest()