Class MainPlayerInventorySnapshot
java.lang.Object
org.core.inventory.parts.snapshot.MainPlayerInventorySnapshot
- All Implemented Interfaces:
Inventory
,InventoryPart
,MainPlayerInventory
,InventoryPartSnapshot
public class MainPlayerInventorySnapshot
extends Object
implements MainPlayerInventory, InventoryPartSnapshot
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.core.inventory.Inventory
Inventory.Parent
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMainPlayerInventorySnapshot(Collection<? extends Slot> slots)
MainPlayerInventorySnapshot(Inventory snapshot)
-
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
-
MainPlayerInventorySnapshot
-
MainPlayerInventorySnapshot
-
-
Method Details
-
getItemSlots
- Specified by:
getItemSlots
in interfaceInventory
-
createSnapshot
- Specified by:
createSnapshot
in interfaceInventory
- Specified by:
createSnapshot
in interfaceMainPlayerInventory
-
getSlotCount
public int getSlotCount()- Specified by:
getSlotCount
in interfaceInventory
-