Uses of Class
com.hypixel.hytale.server.core.inventory.transaction.ItemStackTransaction
Packages that use ItemStackTransaction
Package
Description
-
Uses of ItemStackTransaction in com.hypixel.hytale.builtin.adventure.stash
Methods in com.hypixel.hytale.builtin.adventure.stash that return types with arguments of type ItemStackTransactionModifier and TypeMethodDescriptionstatic ListTransaction<ItemStackTransaction> StashPlugin.stash(BlockModule.BlockStateInfo blockStateInfo, ItemContainerBlock containerState, boolean clearDropList) Called to stash the items into the container based on its droplist. -
Uses of ItemStackTransaction in com.hypixel.hytale.server.core.entity.entities
Methods in com.hypixel.hytale.server.core.entity.entities that return ItemStackTransactionModifier and TypeMethodDescriptionstatic ItemStackTransactionPlayer.giveItem(ItemStack stack, Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) -
Uses of ItemStackTransaction in com.hypixel.hytale.server.core.inventory
Methods in com.hypixel.hytale.server.core.inventory that return types with arguments of type ItemStackTransactionModifier 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.Inventory.putAll(int inventorySectionId) Deprecated, for removal: This API element is subject to removal in a future version.InventoryUtils.putAll(Ref<EntityStore> ref, int inventorySectionId, ComponentAccessor<EntityStore> componentAccessor) Moves all items from the entity's storage inventory into the container identified byinventorySectionId.Inventory.quickStack(Ref<EntityStore> ref, int inventorySectionId, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.Use theInventoryUtils.quickStack(Ref, int, ComponentAccessor)equivalent.InventoryUtils.quickStack(Ref<EntityStore> ref, int inventorySectionId, ComponentAccessor<EntityStore> componentAccessor) Moves items from the hotbar (then storage) into the container identified byinventorySectionId, merging stacks where possible.Inventory.takeAll(Ref<EntityStore> ref, int inventorySectionId, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Deprecated, for removal: This API element is subject to removal in a future version.Use theInventoryUtils.takeAll(Ref, int, PlayerSettings, ComponentAccessor)equivalent.InventoryUtils.takeAll(Ref<EntityStore> ref, int inventorySectionId, PlayerSettings settings, ComponentAccessor<EntityStore> componentAccessor) Moves all items from the container identified byinventorySectionIdinto the entity's inventory, respecting per-item-type pickup priority viasettings.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. -
Uses of ItemStackTransaction in com.hypixel.hytale.server.core.inventory.container
Methods in com.hypixel.hytale.server.core.inventory.container that return ItemStackTransactionModifier and TypeMethodDescriptionFetchedItemContainer.addItemStack(ItemStack itemStack) FetchedItemContainer.addItemStack(ItemStack itemStack, boolean allOrNothing, boolean fullStacks, boolean filter) ItemContainer.addItemStack(ItemStack itemStack) Add anItemStackto this containerItemContainer.addItemStack(ItemStack itemStack, boolean allOrNothing, boolean fullStacks, boolean filter) Add anItemStackto this containerFetchedItemContainer.removeItemStack(ItemStack itemStack) FetchedItemContainer.removeItemStack(ItemStack itemStack, boolean allOrNothing, boolean filter) ItemContainer.removeItemStack(ItemStack itemStack) ItemContainer.removeItemStack(ItemStack itemStack, boolean allOrNothing, boolean filter) Methods in com.hypixel.hytale.server.core.inventory.container that return types with arguments of type ItemStackTransactionModifier and TypeMethodDescriptionFetchedItemContainer.addItemStacks(List<ItemStack> itemStacks) FetchedItemContainer.addItemStacks(List<ItemStack> itemStacks, boolean allOrNothing, boolean fullStacks, boolean filter) ItemContainer.addItemStacks(List<ItemStack> itemStacks) ItemContainer.addItemStacks(List<ItemStack> itemStacks, boolean allOrNothing, boolean fullStacks, boolean filter) 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.quickStackTo(ItemContainer... containerTo) ItemContainer.quickStackTo(ItemContainer... containerTo) FetchedItemContainer.removeItemStacks(List<ItemStack> itemStacks) FetchedItemContainer.removeItemStacks(List<ItemStack> itemStacks, boolean allOrNothing, boolean filter) ItemContainer.removeItemStacks(List<ItemStack> itemStacks) ItemContainer.removeItemStacks(List<ItemStack> itemStacks, boolean allOrNothing, boolean filter) -
Uses of ItemStackTransaction in com.hypixel.hytale.server.core.inventory.transaction
Fields in com.hypixel.hytale.server.core.inventory.transaction declared as ItemStackTransactionModifier and TypeFieldDescriptionstatic final ItemStackTransactionItemStackTransaction.FAILED_ADDMethods in com.hypixel.hytale.server.core.inventory.transaction that return ItemStackTransactionModifier and TypeMethodDescriptionItemStackTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) ItemStackTransaction.toParent(ItemContainer parent, short start, ItemContainer container)
InventoryUtils.putAll(Ref, int, ComponentAccessor)equivalent.