SwitchActiveSlotEvent
Package: com.hypixel.hytale.server.core.event.events.ecs
public class SwitchActiveSlotEvent extends CancellableEcsEventA cancellable ECS event fired when the corresponding SwitchActiveSlot action occurs.
Fields
Section titled “Fields”| Modifier | Type | Name |
|---|---|---|
private final | int | previousSlot |
private final | int | inventorySectionId |
private | byte | newSlot |
private final | boolean | serverRequest |
Methods
Section titled “Methods”| Modifier | Return Type | Signature |
|---|---|---|
public | SwitchActiveSlotEvent(int inventorySectionId, int previousSlot, byte newSlot, boolean serverRequest) | |
public | int | getPreviousSlot() |
public | byte | getNewSlot() |
public | void | setNewSlot(byte newSlot) |
public | boolean | isServerRequest() |
public | boolean | isClientRequest() |
public | int | getInventorySectionId() |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.