classpublicPriority 3
SlotTransaction
com.hypixel.hytale.server.core.inventory.transaction.SlotTransaction
implements Transaction
11
Methods
11
Public Methods
9
Fields
1
Constructors
Constants
SlotTransactionFAILED_ADD= new SlotTransaction(false, ActionType.ADD, (short)-1, null, null, null, false, false, false)
Constructors
public
SlotTransaction(boolean succeeded, ActionType action, short slot, ItemStack slotBefore, ItemStack slotAfter, ItemStack output, boolean allOrNothing, boolean exactAmount, boolean filter)Methods
Public Methods (11)
public
ActionType getAction()@Nonnull
public
ItemStack getOutput()@Nullable
public
short getSlot()public
ItemStack getSlotAfter()@Nullable
public
ItemStack getSlotBefore()@Nullable
public
boolean isAllOrNothing()public
boolean isExactAmount()public
boolean isFilter()public
boolean succeeded()@Override
public
String toString()@Nonnull@Override
public
boolean wasSlotModified(short slot)@Override
Fields
Private/Package Fields (9)
private
ActionType actionprivate
boolean allOrNothingprivate
boolean exactAmountprivate
boolean filterprivate
ItemStack outputprivate
short slotprivate
ItemStack slotAfterprivate
ItemStack slotBeforeprivate
boolean succeededRelated Classes
Used By