Class SlotSnapshot
java.lang.Object
org.core.inventory.parts.snapshot.SlotSnapshot
- All Implemented Interfaces:
Inventory
,InventoryPart
,Slot
,InventoryPartSnapshot
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.core.inventory.Inventory
Inventory.Parent
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.core.inventory.parts.InventoryPart
getSlot
Methods inherited from interface org.core.inventory.parts.Slot
getItemSlots, removeItem
-
Field Details
-
slotPos
-
itemstack
-
-
Constructor Details
-
SlotSnapshot
-
SlotSnapshot
-
-
Method Details
-
getPosition
- Specified by:
getPosition
in interfaceSlot
-
getItem
-
setItem
-
createSnapshot
- Specified by:
createSnapshot
in interfaceInventory
- Specified by:
createSnapshot
in interfaceSlot
-
getSlotCount
public int getSlotCount()- Specified by:
getSlotCount
in interfaceInventory
-