Uses of Class
com.hypixel.hytale.server.core.inventory.container.ItemContainer
Packages that use ItemContainer
Package
Description
-
Uses of ItemContainer in com.hypixel.hytale.builtin.abilities.window
Methods in com.hypixel.hytale.builtin.abilities.window that return ItemContainerConstructors in com.hypixel.hytale.builtin.abilities.window with parameters of type ItemContainer -
Uses of ItemContainer in com.hypixel.hytale.builtin.adventure.farming.states
Methods in com.hypixel.hytale.builtin.adventure.farming.states with parameters of type ItemContainerModifier and TypeMethodDescriptionvoidCoopBlock.gatherProduceFromContainer(ItemContainer playerInventory) Called to gather all produce from the coop's inventory into the player's inventory.Constructors in com.hypixel.hytale.builtin.adventure.farming.states with parameters of type ItemContainerModifierConstructorDescriptionCoopBlock(String farmingCoopId, List<CoopBlock.CoopResident> residents, ItemContainer itemContainer) Default Constructor for aCoopBlockinstance. -
Uses of ItemContainer in com.hypixel.hytale.builtin.adventure.objectives.config.task
Methods in com.hypixel.hytale.builtin.adventure.objectives.config.task with parameters of type ItemContainerModifier and TypeMethodDescriptionvoidBlockTagOrItemIdField.consumeItemStacks(ItemContainer container, int quantity) -
Uses of ItemContainer in com.hypixel.hytale.builtin.crafting.component
Methods in com.hypixel.hytale.builtin.crafting.component that return ItemContainerModifier and TypeMethodDescriptionProcessingBenchBlock.getFuelContainer()ProcessingBenchBlock.getInputContainer()ProcessingBenchBlock.getOutputContainer()Methods in com.hypixel.hytale.builtin.crafting.component with parameters of type ItemContainerModifier and TypeMethodDescriptionbooleanCraftingManager.craftItem(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, CraftingRecipe recipe, int requestedQuantity, ItemContainer itemContainer) Called to instantly craft the given item for the given quantity.static com.google.gson.JsonArrayCraftingManager.generateInventoryHints(List<CraftingRecipe> recipes, int inputSlotIndex, ItemContainer container) Generates and returns inventory hints for the given recipes.booleanCraftingManager.queueCraft(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor, CraftingWindow window, int transactionId, CraftingRecipe recipe, int requestedQuantity, ItemContainer inputItemContainer, CraftingManager.InputRemovalType inputRemovalType) Called to queue a recipe to be crafted. -
Uses of ItemContainer in com.hypixel.hytale.builtin.crafting.window
Methods in com.hypixel.hytale.builtin.crafting.window that return ItemContainerModifier and TypeMethodDescriptionDiagramCraftingWindow.getItemContainer()StructuralCraftingWindow.getItemContainer() -
Uses of ItemContainer in com.hypixel.hytale.builtin.portals.utils
Methods in com.hypixel.hytale.builtin.portals.utils with parameters of type ItemContainerModifier and TypeMethodDescriptionstatic voidEphemeralItems.deleteAll(ItemContainer itemContainer, UUID worldUUID) -
Uses of ItemContainer in com.hypixel.hytale.server.core.entity
Methods in com.hypixel.hytale.server.core.entity that return ItemContainerMethods in com.hypixel.hytale.server.core.entity with parameters of type ItemContainerModifier and TypeMethodDescriptionstatic ItemStackSlotTransactionItemUtils.updateItemStackDurability(Ref<EntityStore> ref, ItemStack itemStack, ItemContainer container, int slotId, double durabilityChange, ComponentAccessor<EntityStore> componentAccessor) Updates the durability of an item stack in a container slot.LivingEntity.updateItemStackDurability(Ref<EntityStore> ref, ItemStack itemStack, ItemContainer container, int slotId, double durabilityChange, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ItemContainer in com.hypixel.hytale.server.core.entity.entities.player.pages.itemrepair
Constructors in com.hypixel.hytale.server.core.entity.entities.player.pages.itemrepair with parameters of type ItemContainerModifierConstructorDescriptionItemRepairPage(PlayerRef playerRef, ItemContainer itemContainer, double repairPenalty, ItemContext heldItemContext) -
Uses of ItemContainer in com.hypixel.hytale.server.core.entity.entities.player.windows
Methods in com.hypixel.hytale.server.core.entity.entities.player.windows that return ItemContainerModifier and TypeMethodDescriptionContainerBlockWindow.getItemContainer()ContainerWindow.getItemContainer()ItemContainerWindow.getItemContainer()ItemStackContainerWindow.getItemContainer()MaterialExtraResourcesSection.getItemContainer()Methods in com.hypixel.hytale.server.core.entity.entities.player.windows with parameters of type ItemContainerModifier and TypeMethodDescriptionvoidMaterialExtraResourcesSection.setItemContainer(ItemContainer itemContainer) Constructors in com.hypixel.hytale.server.core.entity.entities.player.windows with parameters of type ItemContainerModifierConstructorDescriptionContainerBlockWindow(int x, int y, int z, int rotationIndex, BlockType blockType, ItemContainer itemContainer) Default Constructor for aContainerBlockWindowinstanceContainerWindow(ItemContainer itemContainer) -
Uses of ItemContainer in com.hypixel.hytale.server.core.event.events.ecs
Methods in com.hypixel.hytale.server.core.event.events.ecs that return ItemContainerConstructors in com.hypixel.hytale.server.core.event.events.ecs with parameters of type ItemContainerModifierConstructorDescriptionInventoryChangeEvent(ComponentType<EntityStore, ? extends InventoryComponent> componentType, InventoryComponent inventory, ItemContainer itemContainer, Transaction transaction) -
Uses of ItemContainer in com.hypixel.hytale.server.core.inventory
Methods in com.hypixel.hytale.server.core.inventory that return ItemContainerModifier and TypeMethodDescriptionInventory.getArmor()Deprecated, for removal: This API element is subject to removal in a future version.Fetch theInventoryComponent.Armorcomponent directly viaaccessor.getComponent(ref, InventoryComponent.Armor.getComponentType()).Inventory.getBackpack()Deprecated, for removal: This API element is subject to removal in a future version.Fetch theInventoryComponent.Backpackcomponent directly viaaccessor.getComponent(ref, InventoryComponent.Backpack.getComponentType()).ItemContext.getContainer()static ItemContainerInventoryUtils.getContainerForItemPickup(Ref<EntityStore> ref, Item item, PlayerSettings playerSettings, ComponentAccessor<EntityStore> componentAccessor) Returns the appropriateItemContainerto placeiteminto when it is picked up, using the player's configured pickup preferences.static ItemContainerInventoryUtils.getContainerForItemPickup(Ref<EntityStore> ref, Item item, PlayerSettings playerSettings, PickupLocation overridePickupLocation, ComponentAccessor<EntityStore> componentAccessor) Returns the appropriateItemContainerto placeiteminto when it is picked up.Inventory.getHotbar()Deprecated, for removal: This API element is subject to removal in a future version.Fetch theInventoryComponent.Hotbarcomponent directly viaaccessor.getComponent(ref, InventoryComponent.Hotbar.getComponentType()).InventoryComponent.getInventory()Inventory.getSectionById(int id) Deprecated, for removal: This API element is subject to removal in a future version.Use theInventoryUtils.getSectionById(Ref, int, ComponentAccessor)equivalent.static ItemContainerInventoryUtils.getSectionById(Ref<EntityStore> ref, int id, ComponentAccessor<EntityStore> componentAccessor) Returns theItemContainerfor the inventory section identified byidon the entity.Inventory.getStorage()Deprecated, for removal: This API element is subject to removal in a future version.Fetch theInventoryComponent.Storagecomponent directly viaaccessor.getComponent(ref, InventoryComponent.Storage.getComponentType()).Inventory.getTools()Deprecated, for removal: This API element is subject to removal in a future version.Fetch theInventoryComponent.Toolcomponent directly viaaccessor.getComponent(ref, InventoryComponent.Tool.getComponentType()).Inventory.getUtility()Deprecated, for removal: This API element is subject to removal in a future version.Fetch theInventoryComponent.Utilitycomponent directly viaaccessor.getComponent(ref, InventoryComponent.Utility.getComponentType()).Methods in com.hypixel.hytale.server.core.inventory with parameters of type ItemContainerModifier and TypeMethodDescriptionstatic MoveTransaction<ItemStackTransaction> InventoryUtils.moveItemFromCheckToInventory(Ref<EntityStore> ref, ItemStack itemStack, ItemContainer targetContainer, short fromSlotId, int quantity, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Movesquantityof the item atfromSlotIdintargetContainerinto the container determined byInventoryUtils.getContainerForItemPickup(Ref, Item, PlayerSettings, ComponentAccessor)for the item's type.static booleanInventoryUtils.prepareAbilityCoreRemoval(Ref<EntityStore> ref, ItemContainer fromContainer, int fromSlotId, ComponentAccessor<EntityStore> componentAccessor) Enforces ability-line consistency when a line's Core rune leaves the ability slots without a replacement (quick-move, drop).Inventory.takeAllWithPriority(Ref<EntityStore> ref, ItemContainer fromContainer, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.InventoryUtils.takeAllWithPriority(Ref<EntityStore> ref, ItemContainer fromContainer, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Moves all items fromfromContainerinto the entity's inventory, respecting per-item-type pickup priority viasettings.Constructors in com.hypixel.hytale.server.core.inventory with parameters of type ItemContainerModifierConstructorDescriptionArmor(ItemContainer armor) Backpack(ItemContainer backpack) Hotbar(ItemContainer hotbar, byte activeHotbarSlot) ItemContext(ItemContainer container, short slot, ItemStack itemStack) Storage(ItemContainer storage) Tool(ItemContainer tools, byte toolsSlot) Utility(ItemContainer utility, byte utilitySlot) -
Uses of ItemContainer in com.hypixel.hytale.server.core.inventory.container
Classes in com.hypixel.hytale.server.core.inventory.container with type parameters of type ItemContainerSubclasses of ItemContainer in com.hypixel.hytale.server.core.inventory.containerModifier and TypeClassDescriptionclassclassDelegateItemContainer<T extends ItemContainer>classclassAnItemContainerwrapper that lazily resolves its delegate on every call through aSupplier.classclassFields in com.hypixel.hytale.server.core.inventory.container with type parameters of type ItemContainerMethods in com.hypixel.hytale.server.core.inventory.container with type parameters of type ItemContainerModifier and TypeMethodDescriptionstatic <T extends ItemContainer>
TItemContainer.copy(ItemContainer from, T to, List<ItemStack> remainder) static <T extends ItemContainer>
TItemContainer.ensureContainerCapacity(T inputContainer, short capacity, com.hypixel.fastutil.shorts.Short2ObjectConcurrentHashMap.ShortFunction<T> newContainerSupplier, List<ItemStack> remainder) static <T extends ItemContainer>
TItemContainerUtil.trySetAbilityFilters(T container, short lineWidth) Ability slots are laid out in lines oflineWidth: the first slot of each line accepts a Core ability rune, the remaining slots accept Support ability runes whose keyword requirements fit the line's core.static <T extends ItemContainer>
TItemContainerUtil.trySetArmorFilters(T container) static <T extends ItemContainer>
TItemContainerUtil.trySetSlotFilters(T container, SlotFilter filter) Methods in com.hypixel.hytale.server.core.inventory.container that return ItemContainerModifier and TypeMethodDescriptionFetchedItemContainer.clone()abstract ItemContainerItemContainer.clone()ItemStackItemContainer.clone()ItemContainer.ItemContainerChangeEvent.container()Returns the value of thecontainerrecord component.CombinedItemContainer.getContainer(int index) CombinedItemContainer.getContainerForSlot(short slot) static ItemContainerItemContainer.getNewContainer(short capacity, com.hypixel.fastutil.shorts.Short2ObjectConcurrentHashMap.ShortFunction<ItemContainer> supplier) static ItemContainerSimpleItemContainer.getNewContainer(short capacity) ItemStackItemContainer.getParentContainer()Methods in com.hypixel.hytale.server.core.inventory.container with parameters of type ItemContainerModifier and TypeMethodDescriptionstatic booleanSimpleItemContainer.addOrDropItemStack(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, ItemContainer itemContainer, short slot, ItemStack itemStack) static booleanSimpleItemContainer.addOrDropItemStack(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, ItemContainer itemContainer, ItemStack itemStack) static booleanSimpleItemContainer.addOrDropItemStacks(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, ItemContainer itemContainer, List<ItemStack> itemStacks) FetchedItemContainer.combineItemStacksIntoSlot(ItemContainer containerTo, short slotTo) ItemContainer.combineItemStacksIntoSlot(ItemContainer containerTo, short slotTo) booleanCombinedItemContainer.containsContainer(ItemContainer itemContainer) booleanFetchedItemContainer.containsContainer(ItemContainer itemContainer) booleanItemContainer.containsContainer(ItemContainer itemContainer) static <T extends ItemContainer>
TItemContainer.copy(ItemContainer from, T to, List<ItemStack> remainder) static intInternalContainerUtilMaterial.countMaterialFromItems(ItemContainer container, MaterialQuantity material, boolean filter) static ItemStackItemContainerItemStackItemContainer.ensureConfiguredContainer(ItemContainer itemContainer, short slot, ItemStackContainerConfig config) static ItemStackItemContainerItemStackItemContainer.ensureContainer(ItemContainer itemContainer, short slot, short capacity) Ensures the item stack at the specified slot has an item container.static ItemStackItemContainerItemStackItemContainer.getContainer(ItemContainer itemContainer, short slot) Gets the container from an item stack stored in a container at the specified slot ornullif the item doesn't have a container.static TestRemoveItemSlotResultInternalContainerUtilMaterial.getTestRemoveMaterialFromItems(ItemContainer container, MaterialQuantity material, int testQuantityRemaining, boolean filter) static ItemStackItemContainerItemStackItemContainer.makeContainerWithCapacity(ItemContainer itemContainer, short slot, short capacity) Creates an item container in the item stack at the specified slot in the item container with the specified capacity as long as the item doesn't already have a container already.FetchedItemContainer.moveAllItemStacksTo(ItemContainer... containerTo) FetchedItemContainer.moveAllItemStacksTo(Predicate<ItemStack> itemPredicate, ItemContainer... containerTo) ItemContainer.moveAllItemStacksTo(ItemContainer... containerTo) ItemContainer.moveAllItemStacksTo(Predicate<ItemStack> itemPredicate, ItemContainer... containerTo) FetchedItemContainer.moveItemStackFromSlot(short slot, boolean allOrNothing, boolean filter, ItemContainer... containerTo) FetchedItemContainer.moveItemStackFromSlot(short slot, int quantity, boolean allOrNothing, boolean filter, ItemContainer... containerTo) FetchedItemContainer.moveItemStackFromSlot(short slot, int quantity, ItemContainer containerTo) FetchedItemContainer.moveItemStackFromSlot(short slot, int quantity, ItemContainer... containerTo) FetchedItemContainer.moveItemStackFromSlot(short slot, int quantity, ItemContainer containerTo, boolean allOrNothing, boolean filter) FetchedItemContainer.moveItemStackFromSlot(short slot, ItemContainer containerTo) FetchedItemContainer.moveItemStackFromSlot(short slot, ItemContainer... containerTo) FetchedItemContainer.moveItemStackFromSlot(short slot, ItemContainer containerTo, boolean filter) FetchedItemContainer.moveItemStackFromSlot(short slot, ItemContainer containerTo, boolean allOrNothing, boolean filter) ItemContainer.moveItemStackFromSlot(short slot, boolean allOrNothing, boolean filter, ItemContainer... containerTo) ItemContainer.moveItemStackFromSlot(short slot, int quantity, boolean allOrNothing, boolean filter, ItemContainer... containerTo) ItemContainer.moveItemStackFromSlot(short slot, int quantity, ItemContainer containerTo) ItemContainer.moveItemStackFromSlot(short slot, int quantity, ItemContainer... containerTo) ItemContainer.moveItemStackFromSlot(short slot, int quantity, ItemContainer containerTo, boolean allOrNothing, boolean filter) ItemContainer.moveItemStackFromSlot(short slot, ItemContainer containerTo) ItemContainer.moveItemStackFromSlot(short slot, ItemContainer... containerTo) ItemContainer.moveItemStackFromSlot(short slot, ItemContainer containerTo, boolean filter) ItemContainer.moveItemStackFromSlot(short slot, ItemContainer containerTo, boolean allOrNothing, boolean filter) FetchedItemContainer.moveItemStackFromSlotToSlot(short slot, int quantity, ItemContainer containerTo, short slotTo) FetchedItemContainer.moveItemStackFromSlotToSlot(short slot, int quantity, ItemContainer containerTo, short slotTo, boolean filter) ItemContainer.moveItemStackFromSlotToSlot(short slot, int quantity, ItemContainer containerTo, short slotTo) ItemContainer.moveItemStackFromSlotToSlot(short slot, int quantity, ItemContainer containerTo, short slotTo, boolean filter) FetchedItemContainer.quickStackTo(ItemContainer... containerTo) ItemContainer.quickStackTo(ItemContainer... containerTo) FetchedItemContainer.swapItems(short srcPos, ItemContainer containerTo, short destPos, short length) ItemContainer.swapItems(short srcPos, ItemContainer containerTo, short destPos, short length) static intInternalContainerUtilMaterial.testRemoveMaterialFromItems(ItemContainer container, MaterialQuantity material, int testQuantityRemaining, boolean filter) static intInternalContainerUtilMaterial.testRemoveMaterialFromSlot(ItemContainer container, short slot, MaterialQuantity material, int testQuantityRemaining, boolean filter) static intInternalContainerUtilResource.testRemoveResourceFromItems(ItemContainer container, ResourceQuantity resource, int testQuantityRemaining, boolean filter) Calculated the remaining quantity if an attempt is made to remove aResourceQuantityfrom existingItemStack's that have a matchingItem.getResourceTypes()resource type in the container.static intInternalContainerUtilResource.testRemoveResourceFromSlot(ItemContainer container, short slot, ResourceQuantity resource, int testQuantityRemaining, boolean filter) static TestRemoveItemSlotResultInternalContainerUtilResource.testRemoveResourceSlotFromItems(ItemContainer container, ResourceQuantity resource, int testQuantityRemaining, boolean filter) static booleanSimpleItemContainer.tryAddOrderedOrDropItemStacks(ComponentAccessor<EntityStore> store, Ref<EntityStore> ref, ItemContainer itemContainer, List<ItemStack> itemStacks) static voidItemStackItemContainer.writeToItemStack(ItemContainer itemContainer, short slot, ItemStack originalItemStack, ItemStack[] items) Writes the provided items array to an item stack in a container only if that item still matches the original item stack.Method parameters in com.hypixel.hytale.server.core.inventory.container with type arguments of type ItemContainerModifier and TypeMethodDescriptionstatic ItemContainerItemContainer.getNewContainer(short capacity, com.hypixel.fastutil.shorts.Short2ObjectConcurrentHashMap.ShortFunction<ItemContainer> supplier) Constructors in com.hypixel.hytale.server.core.inventory.container with parameters of type ItemContainerModifierConstructorDescriptionCombinedItemContainer(ItemContainer... containers) ItemContainerChangeEvent(ItemContainer container, Transaction transaction) Creates an instance of aItemContainerChangeEventrecord class.Constructor parameters in com.hypixel.hytale.server.core.inventory.container with type arguments of type ItemContainer -
Uses of ItemContainer in com.hypixel.hytale.server.core.inventory.container.filter
Methods in com.hypixel.hytale.server.core.inventory.container.filter with parameters of type ItemContainerModifier and TypeMethodDescriptionstatic booleanAbilityCoreSlotFilter.isEquippedOnAnotherLine(ItemContainer abilitySlots, int coreSlot, ItemStack rune, short lineWidth) Whether a core slot other thancoreSlotalready holds a copy of the given rune.booleanAbilityCoreSlotFilter.test(FilterActionType actionType, ItemContainer container, short slot, ItemStack itemStack) booleanAbilitySupportSlotFilter.test(FilterActionType actionType, ItemContainer container, short slot, ItemStack itemStack) default booleanItemSlotFilter.test(FilterActionType actionType, ItemContainer container, short slot, ItemStack itemStack) booleanSlotFilter.test(FilterActionType actionType, ItemContainer container, short slot, ItemStack itemStack) -
Uses of ItemContainer in com.hypixel.hytale.server.core.inventory.transaction
Methods in com.hypixel.hytale.server.core.inventory.transaction that return ItemContainerMethods in com.hypixel.hytale.server.core.inventory.transaction with parameters of type ItemContainerModifier and TypeMethodDescriptionClearTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) ItemStackSlotTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) ItemStackTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) ListTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) MaterialSlotTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) MaterialTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) MoveTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) ResourceSlotTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) ResourceTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) SlotTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) TagSlotTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) TagTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) Transaction.fromParent(ItemContainer parent, short start, ItemContainer container) Transforms this transactions data from referencing about a slot in the provided parent to a slot in the provided container.MoveTransaction.toInverted(ItemContainer itemContainer) ClearTransaction.toParent(ItemContainer parent, short start, ItemContainer container) ItemStackSlotTransaction.toParent(ItemContainer parent, short start, ItemContainer container) ItemStackTransaction.toParent(ItemContainer parent, short start, ItemContainer container) ListTransaction.toParent(ItemContainer parent, short start, ItemContainer container) MaterialSlotTransaction.toParent(ItemContainer parent, short start, ItemContainer container) MaterialTransaction.toParent(ItemContainer parent, short start, ItemContainer container) MoveTransaction.toParent(ItemContainer parent, short start, ItemContainer container) ResourceSlotTransaction.toParent(ItemContainer parent, short start, ItemContainer container) ResourceTransaction.toParent(ItemContainer parent, short start, ItemContainer container) SlotTransaction.toParent(ItemContainer parent, short start, ItemContainer container) TagSlotTransaction.toParent(ItemContainer parent, short start, ItemContainer container) TagTransaction.toParent(ItemContainer parent, short start, ItemContainer container) Transaction.toParent(ItemContainer parent, short start, ItemContainer container) Transforms this transactions data from referencing about a slot in the provided container to a slot in the provided parent.Constructors in com.hypixel.hytale.server.core.inventory.transaction with parameters of type ItemContainerModifierConstructorDescriptionMoveTransaction(boolean succeeded, SlotTransaction removeTransaction, MoveType moveType, ItemContainer otherContainer, T addTransaction) -
Uses of ItemContainer in com.hypixel.hytale.server.core.modules.entity.damage
Methods in com.hypixel.hytale.server.core.modules.entity.damage with parameters of type ItemContainerModifier and TypeMethodDescriptionDamageSystems.ArmorDamageReduction.getResistanceModifiers(World world, ItemContainer inventory, boolean canApplyItemStackPenalties, EffectControllerComponent effectControllerComponent) Deprecated. -
Uses of ItemContainer in com.hypixel.hytale.server.core.modules.entity.item
Methods in com.hypixel.hytale.server.core.modules.entity.item with parameters of type ItemContainerModifier and TypeMethodDescriptionstatic ItemStackItemComponent.addToItemContainer(Store<EntityStore> store, Ref<EntityStore> itemRef, ItemContainer itemContainer) Called to add the contents of theItemStackof this component to the given containers. -
Uses of ItemContainer in com.hypixel.hytale.server.core.modules.interaction
Methods in com.hypixel.hytale.server.core.modules.interaction with parameters of type ItemContainerModifier and TypeMethodDescriptionstatic booleanBlockPlaceUtils.placeBlock(Ref<EntityStore> ref, ItemStack itemStack, String blockTypeKey, ItemContainer itemContainer, org.joml.Vector3i placementNormal, org.joml.Vector3i blockPosition, BlockRotation blockRotation, byte activeSlot, boolean removeItemInHand, Ref<ChunkStore> sectionReference, ComponentAccessor<ChunkStore> chunkStore, ComponentAccessor<EntityStore> entityStore, boolean quickReplace, boolean quickRetype, boolean noPhysics) Called to handle a place block request from a specific player instance. -
Uses of ItemContainer in com.hypixel.hytale.server.npc.util
Methods in com.hypixel.hytale.server.npc.util with parameters of type ItemContainerModifier and TypeMethodDescriptionstatic intInventoryHelper.countFreeSlots(ItemContainer container) static intInventoryHelper.countItems(ItemContainer container, List<String> name) static booleanInventoryHelper.useArmor(ItemContainer armorInventory, ItemStack itemStack) static booleanInventoryHelper.useArmor(ItemContainer armorInventory, String armorItem)
ItemUtils.updateItemStackDurability(Ref, ItemStack, ItemContainer, int, double, ComponentAccessor)equivalent instead.