Contents
Package com.hypixel.hytale.server.core.inventory
package com.hypixel.hytale.server.core.inventory
-
ClassesClassDescriptionBase class for
InventoryComponentsubtypes that maintain a tracked active (selected) slot.Deprecated, for removal: This API element is subject to removal in a future version.Base component for all inventory types on an entity.Ability rune slots laid out inInventoryComponent.ABILITIES_LINESlines ofInventoryComponent.ABILITIES_LINE_WIDTH: the first slot of each line holds the castable Primary ability (line 1 casts on Ability2, line 2 on Ability3), the remaining slots hold Support abilities.Armor equipment slots (helmet, chestplate, leggings, boots).Extended overflow storage (backpack).Non-serialized helper component that cachesCombinedItemContainerinstances keyed by the component-type arrays used to create them.Quick-access hotbar slots with a tracked active (selected) slot.The player's rune bag: general storage for ability rune items, shown in the ability bench.General-purpose storage inventory (main inventory grid).Tool slots with a tracked active slot and a flag indicating whether the tool item is currently being used.Utility item slots (e.g. torches) with a tracked active slot.ECS systems that bridgeItemContainer.ItemContainerChangeEvents (fired synchronously during item mutations) into per-entityInventoryChangeEvents dispatched via the command buffer.Invalidates the entity's equipment network and schedules a stat-modifier recalculation whenever the active slot in any inventory section changes.Invalidates the entity's equipment network and schedules a stat-modifier recalculation whenever the active slot in any inventory section changes for a holder-based entity.Clears theInventoryComponent.Tool.isUsingToolsItem()flag when the entity switches to a hotbar slot, ensuring the hotbar item becomes the active hand again.Clears theInventoryComponent.Tool.isUsingToolsItem()flag when a holder-based entity switches to a hotbar slot, ensuring the hotbar item becomes the active hand again.Abstract base that drains the queued change events from anInventoryComponenteach tick and re-dispatches them asInventoryChangeEvents on the owning entity.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Static utility methods for reading from and mutating entity inventory state via the ECS component model.Represents a quantified collection of an item.
InventoryComponents instead, kept for migration work for now