Class InventoryItemStackTransaction

java.lang.Object
team.lodestar.lodestone.modules.toolkit.inventory.InventoryItemStackTransaction

public class InventoryItemStackTransaction extends Object
  • Field Details

  • Constructor Details

    • InventoryItemStackTransaction

      protected InventoryItemStackTransaction(net.minecraft.world.item.ItemStack original, net.minecraft.world.item.ItemStack updated, int slot)
  • Method Details

    • unchanged

      public static InventoryItemStackTransaction unchanged(net.minecraft.world.item.ItemStack stack, int slot)
    • updated

      public static InventoryItemStackTransaction updated(net.minecraft.world.item.ItemStack original, net.minecraft.world.item.ItemStack updated, int slot)
    • getOriginal

      public net.minecraft.world.item.ItemStack getOriginal()
    • getUpdated

      public net.minecraft.world.item.ItemStack getUpdated()
    • getNonEmpty

      public net.minecraft.world.item.ItemStack getNonEmpty()
    • getSlot

      public int getSlot()
    • getExchangedCount

      public int getExchangedCount(int clamp)
    • wasSuccessful

      public boolean wasSuccessful()