java.lang.Object
com.hypixel.hytale.server.core.inventory.transaction.SlotTransaction
All Implemented Interfaces:
Transaction
Direct Known Subclasses:
ItemStackSlotTransaction, MaterialSlotTransaction, ResourceSlotTransaction, TagSlotTransaction

public class SlotTransaction extends Object implements Transaction
  • Field Details

    • FAILED_ADD

      public static final SlotTransaction FAILED_ADD
    • succeeded

      private final boolean succeeded
    • action

      @Nonnull private final ActionType action
    • slot

      private final short slot
    • slotBefore

      @Nullable private final ItemStack slotBefore
    • slotAfter

      @Nullable private final ItemStack slotAfter
    • output

      @Nullable private final ItemStack output
    • allOrNothing

      private final boolean allOrNothing
    • exactAmount

      private final boolean exactAmount
    • filter

      private final boolean filter
  • Constructor Details

    • SlotTransaction

      public SlotTransaction(boolean succeeded, @Nonnull ActionType action, short slot, @Nullable ItemStack slotBefore, @Nullable ItemStack slotAfter, @Nullable ItemStack output, boolean allOrNothing, boolean exactAmount, boolean filter)
  • Method Details