public final class InventoryAction extends Object
| Constructor and Description |
|---|
InventoryAction(InventorySource source,
int slot,
ItemData fromItem,
ItemData toItem) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ItemData |
getFromItem() |
int |
getSlot() |
InventorySource |
getSource() |
ItemData |
getToItem() |
int |
hashCode() |
InventoryAction |
reverse() |
String |
toString() |
public InventoryAction(InventorySource source, int slot, ItemData fromItem, ItemData toItem)
public InventoryAction reverse()
public InventorySource getSource()
public int getSlot()
public ItemData getFromItem()
public ItemData getToItem()
Copyright © 2018–2019 NukkitX. All rights reserved.