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.
Static Fields
Section titled “Static Fields”| Modifier | Type | Name |
|---|---|---|
public static | BuilderCodec<InventoryComponent.Utility> | CODEC |
Methods
Section titled “Methods”| Modifier | Return Type | Signature |
|---|---|---|
public static | ComponentType<EntityStore, InventoryComponent.Utility> | getComponentType() |
public | byte | getActiveSlot() |
public | void | setActiveSlot(byte activeSlot) |
public | ItemStack | getActiveItem() |
public | void | ensureCapacity(short capacity, List<ItemStack> remainder) |
public | Component<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.