public final class TakeAction extends java.lang.Object implements TransferItemStackRequestAction
| Constructor and Description |
|---|
TakeAction(int count,
ItemStackRequestSlotData source,
ItemStackRequestSlotData destination) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getCount() |
ItemStackRequestSlotData |
getDestination() |
ItemStackRequestSlotData |
getSource() |
ItemStackRequestActionType |
getType() |
int |
hashCode() |
java.lang.String |
toString() |
public TakeAction(int count,
ItemStackRequestSlotData source,
ItemStackRequestSlotData destination)
public ItemStackRequestActionType getType()
getType in interface ItemStackRequestActionpublic int getCount()
getCount in interface TransferItemStackRequestActionpublic ItemStackRequestSlotData getSource()
getSource in interface TransferItemStackRequestActionpublic ItemStackRequestSlotData getDestination()
getDestination in interface TransferItemStackRequestActionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object