Skip to content

InventoryComponent.Hotbar

Package: com.hypixel.hytale.server.core.inventory

public static class InventoryComponent.Hotbar extends InventoryComponent implements Component<EntityStore>

Hotbar inventory section with active slot tracking. Tracks which slot is currently selected by the player. Extends InventoryComponent.

ModifierTypeName
public staticBuilderCodec<InventoryComponent.Hotbar>CODEC
ModifierReturn TypeSignature
public staticComponentType<EntityStore, InventoryComponent.Hotbar>getComponentType()
publicbytegetActiveSlot()
publicvoidsetActiveSlot(byte activeSlot)
publicItemStackgetActiveItem()
publicvoidensureCapacity(short capacity, List<ItemStack> remainder)
publicComponent<EntityStore>clone()
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.