ItemStackSlotTransaction

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 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

isAddToExistingSlot

public boolean isAddToExistingSlot ()

Method isAddToExistingSlot.

getQuery

public ItemStack getQuery ()

Method getQuery.

getRemainder

public ItemStack getRemainder ()

Method getRemainder.

toParent

public ItemStackSlotTransaction toParent (final ItemContainer parent, final short start, final ItemContainer container)

Method toParent.

Parameters:
final ItemContainer parent
final short start
final ItemContainer container

fromParent

public ItemStackSlotTransaction fromParent (final ItemContainer parent, final short start, @Nonnull final ItemContainer container)

Method fromParent.

Parameters:
final ItemContainer parent
final short start
@Nonnull final ItemContainer container

toString

public String toString ()

Method toString.