Uses of Class
com.hypixel.hytale.server.core.inventory.transaction.ItemStackSlotTransaction
Packages that use ItemStackSlotTransaction
Package
Description
-
Uses of ItemStackSlotTransaction in com.hypixel.hytale.server.core.entity
Methods in com.hypixel.hytale.server.core.entity that return ItemStackSlotTransactionModifier and TypeMethodDescriptionstatic ItemStackSlotTransactionItemUtils.decreaseItemStackDurability(Ref<EntityStore> ref, ItemStack itemStack, int inventoryId, int slotId, ComponentAccessor<EntityStore> componentAccessor) Decreases the durability of an item stack if possible, applying penalties if the item breaks.static 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 ItemStackSlotTransaction in com.hypixel.hytale.server.core.inventory.container
Methods in com.hypixel.hytale.server.core.inventory.container that return ItemStackSlotTransactionModifier and TypeMethodDescriptionFetchedItemContainer.addItemStackToSlot(short slot, ItemStack itemStack) FetchedItemContainer.addItemStackToSlot(short slot, ItemStack itemStack, boolean allOrNothing, boolean filter) ItemContainer.addItemStackToSlot(short slot, ItemStack itemStack) ItemContainer.addItemStackToSlot(short slot, ItemStack itemStack, boolean allOrNothing, boolean filter) FetchedItemContainer.internal_removeItemStack(short slot, int quantityToRemove) Deprecated.ItemContainer.internal_removeItemStack(short slot, int quantityToRemove) Deprecated.FetchedItemContainer.removeItemStackFromSlot(short slot, int quantityToRemove) FetchedItemContainer.removeItemStackFromSlot(short slot, int quantityToRemove, boolean allOrNothing, boolean filter) FetchedItemContainer.removeItemStackFromSlot(short slot, ItemStack itemStackToRemove, int quantityToRemove) FetchedItemContainer.removeItemStackFromSlot(short slot, ItemStack itemStackToRemove, int quantityToRemove, boolean allOrNothing, boolean filter) ItemContainer.removeItemStackFromSlot(short slot, int quantityToRemove) ItemContainer.removeItemStackFromSlot(short slot, int quantityToRemove, boolean allOrNothing, boolean filter) ItemContainer.removeItemStackFromSlot(short slot, ItemStack itemStackToRemove, int quantityToRemove) ItemContainer.removeItemStackFromSlot(short slot, ItemStack itemStackToRemove, int quantityToRemove, boolean allOrNothing, boolean filter) FetchedItemContainer.replaceItemStackInSlot(short slot, ItemStack itemStackToRemove, ItemStack itemStack) ItemContainer.replaceItemStackInSlot(short slot, ItemStack itemStackToRemove, ItemStack itemStack) FetchedItemContainer.setItemStackForSlot(short slot, ItemStack itemStack) FetchedItemContainer.setItemStackForSlot(short slot, ItemStack itemStack, boolean filter) ItemContainer.setItemStackForSlot(short slot, ItemStack itemStack) ItemContainer.setItemStackForSlot(short slot, ItemStack itemStack, boolean filter) Methods in com.hypixel.hytale.server.core.inventory.container that return types with arguments of type ItemStackSlotTransactionModifier and TypeMethodDescriptionFetchedItemContainer.addItemStacksOrdered(short offset, List<ItemStack> itemStacks) FetchedItemContainer.addItemStacksOrdered(short offset, List<ItemStack> itemStacks, boolean allOrNothing, boolean filter) FetchedItemContainer.addItemStacksOrdered(List<ItemStack> itemStacks) FetchedItemContainer.addItemStacksOrdered(List<ItemStack> itemStacks, boolean allOrNothing, boolean filter) ItemContainer.addItemStacksOrdered(short offset, List<ItemStack> itemStacks) ItemContainer.addItemStacksOrdered(short offset, List<ItemStack> itemStacks, boolean allOrNothing, boolean filter) Adds ItemStacks to the item container using one ItemStack per slot.ItemContainer.addItemStacksOrdered(List<ItemStack> itemStacks) ItemContainer.addItemStacksOrdered(List<ItemStack> itemStacks, boolean allOrNothing, boolean filter) FetchedItemContainer.replaceAll(SlotReplacementFunction func) ItemContainer.replaceAll(SlotReplacementFunction func) -
Uses of ItemStackSlotTransaction in com.hypixel.hytale.server.core.inventory.transaction
Methods in com.hypixel.hytale.server.core.inventory.transaction that return ItemStackSlotTransactionModifier and TypeMethodDescriptionItemStackSlotTransaction.fromParent(ItemContainer parent, short start, ItemContainer container) ItemStackSlotTransaction.toParent(ItemContainer parent, short start, ItemContainer container) Methods in com.hypixel.hytale.server.core.inventory.transaction that return types with arguments of type ItemStackSlotTransactionConstructor parameters in com.hypixel.hytale.server.core.inventory.transaction with type arguments of type ItemStackSlotTransactionModifierConstructorDescriptionItemStackTransaction(boolean succeeded, ActionType action, ItemStack query, ItemStack remainder, boolean allOrNothing, boolean filter, List<ItemStackSlotTransaction> slotTransactions)
ItemUtils.updateItemStackDurability(Ref, ItemStack, ItemContainer, int, double, ComponentAccessor)equivalent instead.