Skip to content

InventoryComponent.Utility

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

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

Utility inventory section with slot filters that restrict to usable utility items. Tracks the active utility slot. Extends InventoryComponent.

ModifierTypeName
public staticBuilderCodec<InventoryComponent.Utility>CODEC
ModifierReturn TypeSignature
public staticComponentType<EntityStore, InventoryComponent.Utility>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.