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
Modifier and TypeFieldDescriptionfinal CreationOptions
<Slot> protected int
protected InventoryHolder
final String
final UUID
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractNmsInventory
(UUID targetPlayerUuid, String targetPlayerName, CreationOptions<Slot> creationOptions) -
Method Summary
Modifier and TypeMethodDescriptionbukkit()
protected abstract Bukkit
getOwner()
void
onClose
(HumanEntity who) void
onOpen
(HumanEntity who) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.janboerman.invsee.spigot.internal.inventory.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
-