Class Grid3x3Snapshot
java.lang.Object
org.core.inventory.parts.snapshot.Grid3x3Snapshot
- All Implemented Interfaces:
Inventory
,Grid3x3
,InventoryPart
,InventoryPartSnapshot
- Direct Known Subclasses:
CraftGridSnapshot
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.core.inventory.Inventory
Inventory.Parent
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGrid3x3Snapshot(Collection<? extends Slot> slots)
Grid3x3Snapshot(Inventory grid)
Grid3x3Snapshot(Slot... slots)
-
Method Summary
Modifier and TypeMethodDescriptionint
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
-
Field Details
-
slots
-
-
Constructor Details
-
Grid3x3Snapshot
-
Grid3x3Snapshot
-
Grid3x3Snapshot
-
-
Method Details
-
getItemSlots
- Specified by:
getItemSlots
in interfaceInventory
-
createSnapshot
- Specified by:
createSnapshot
in interfaceGrid3x3
- Specified by:
createSnapshot
in interfaceInventory
-
getSlotCount
public int getSlotCount()- Specified by:
getSlotCount
in interfaceInventory
-