Class AbstractNmsInventory<Slot, Bukkit extends SpectatorInventory<Slot>, NMS extends AbstractNmsInventory<Slot,Bukkit,NMS> >
java.lang.Object
com.janboerman.invsee.spigot.internal.inventory.AbstractNmsInventory<Slot,Bukkit,NMS>
- All Implemented Interfaces:
ShallowCopy<NMS>
public abstract class AbstractNmsInventory<Slot, Bukkit extends SpectatorInventory<Slot>, NMS extends AbstractNmsInventory<Slot,Bukkit,NMS>>
extends Object
implements ShallowCopy<NMS>
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal CreationOptions<Slot> protected intprotected InventoryHolderfinal Stringfinal UUID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractNmsInventory(UUID targetPlayerUuid, String targetPlayerName, CreationOptions<Slot> creationOptions) -
Method Summary
Modifier and TypeMethodDescriptionbukkit()protected abstract BukkitgetOwner()voidonClose(HumanEntity who) voidonOpen(HumanEntity who) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ShallowCopy
defaultMaxStack, shallowCopyFrom
-
Field Details
-
targetPlayerUuid
-
targetPlayerName
-
creationOptions
-
maxStack
protected int maxStack -
owner
-
-
Constructor Details
-
AbstractNmsInventory
protected AbstractNmsInventory(UUID targetPlayerUuid, String targetPlayerName, CreationOptions<Slot> creationOptions)
-
-
Method Details
-
createBukkit
-
bukkit
-
onOpen
-
onClose
-
getViewers
-
getOwner
-
getLocation
-