Skip to content

SwitchActiveSlotEvent

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

public class SwitchActiveSlotEvent extends CancellableEcsEvent

A cancellable ECS event fired when the corresponding SwitchActiveSlot action occurs.

ModifierTypeName
private finalintpreviousSlot
private finalintinventorySectionId
privatebytenewSlot
private finalbooleanserverRequest
ModifierReturn TypeSignature
publicSwitchActiveSlotEvent(int inventorySectionId, int previousSlot, byte newSlot, boolean serverRequest)
publicintgetPreviousSlot()
publicbytegetNewSlot()
publicvoidsetNewSlot(byte newSlot)
publicbooleanisServerRequest()
publicbooleanisClientRequest()
publicintgetInventorySectionId()
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.