Skip to content

InventoryChangeEvent

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

public class InventoryChangeEvent extends EcsEvent

ECS event fired when an inventory component’s item container changes. Carries the component type that changed, the inventory component instance, the affected item container, and the transaction that caused the change. Dispatched by the various InventoryChangeEventSystem implementations during entity ticking.

ModifierSignature
publicInventoryChangeEvent(ComponentType<EntityStore, ? extends InventoryComponent> componentType, InventoryComponent inventory, ItemContainer itemContainer, Transaction transaction)
ModifierReturn TypeSignature
publicComponentType<EntityStore, ? extends InventoryComponent>getComponentType()
publicInventoryComponentgetInventory()
publicItemContainergetItemContainer()
publicTransactiongetTransaction()
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.