public final class SwapAction extends java.lang.Object implements ItemStackRequestAction
| Constructor and Description |
|---|
SwapAction(ItemStackRequestSlotData source,
ItemStackRequestSlotData destination) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
ItemStackRequestSlotData |
getDestination() |
ItemStackRequestSlotData |
getSource() |
ItemStackRequestActionType |
getType() |
int |
hashCode() |
java.lang.String |
toString() |
public SwapAction(ItemStackRequestSlotData source, ItemStackRequestSlotData destination)
public ItemStackRequestActionType getType()
getType in interface ItemStackRequestActionpublic ItemStackRequestSlotData getSource()
public ItemStackRequestSlotData getDestination()
public 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