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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMainPlayerInventorySnapshot(Collection<? extends Slot> slots)MainPlayerInventorySnapshot(Inventory snapshot) -
Method Summary
Modifier and TypeMethodDescriptionintMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.core.inventory.parts.InventoryPart
getSlot
-
Field Details
-
slots
-
-
Constructor Details
-
MainPlayerInventorySnapshot
-
MainPlayerInventorySnapshot
-
-
Method Details
-
getItemSlots
- Specified by:
getItemSlotsin interfaceInventory
-
createSnapshot
- Specified by:
createSnapshotin interfaceInventory- Specified by:
createSnapshotin interfaceMainPlayerInventory
-
getSlotCount
public int getSlotCount()- Specified by:
getSlotCountin interfaceInventory
-