public class ItemStackSlotTransaction extends SlotTransaction
Class ItemStackSlotTransaction. Provides itemstackslottransaction functionality for the Hytale server.
java.lang.Object > SlotTransaction > ItemStackSlotTransaction
Field Summary
newSlot
final
short
newSlot
Field newSlot.
Method Detail
ItemStackSlotTransaction
public
public
ItemStackSlotTransaction
(final boolean succeeded, @Nonnull final ActionType action, final short slot, @Nullable final ItemStack slotBefore, @Nullable final ItemStack slotAfter, @Nullable final ItemStack output, final boolean allOrNothing, final boolean exactAmount, final boolean filter, final boolean addToExistingSlot, @Nullable final ItemStack query, @Nullable final ItemStack remainder)
Method ItemStackSlotTransaction.
- Parameters:
final booleansucceeded@Nonnull final ActionTypeactionfinal shortslot@Nullable final ItemStackslotBefore@Nullable final ItemStackslotAfter@Nullable final ItemStackoutputfinal booleanallOrNothingfinal booleanexactAmountfinal booleanfilterfinal booleanaddToExistingSlot@Nullable final ItemStackquery@Nullable final ItemStackremainder
isAddToExistingSlot
public
boolean
isAddToExistingSlot
()
Method isAddToExistingSlot.
toParent
public
ItemStackSlotTransaction
toParent
(final ItemContainer parent, final short start, final ItemContainer container)
Method toParent.
- Parameters:
final ItemContainerparentfinal shortstartfinal ItemContainercontainer
fromParent
public
ItemStackSlotTransaction
fromParent
(final ItemContainer parent, final short start, @Nonnull final ItemContainer container)
Method fromParent.
- Parameters:
final ItemContainerparentfinal shortstart@Nonnull final ItemContainercontainer
toString
public
String
toString
()
Method toString.