Skip to content

ItemContext

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

public class ItemContext

Immutable context binding an ItemStack to its container and slot index. Used to pass item location context through inventory operations and interactions.

Signature
ItemContext(ItemContainer container, short slot, ItemStack itemStack)
ModifierReturn TypeSignature
publicItemContainergetContainer()
publicshortgetSlot()
publicItemStackgetItemStack()
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.