Class InventoryHolder
java.lang.Object
org.geysermc.geyser.inventory.holder.InventoryHolder
- Direct Known Subclasses:
BlockInventoryHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleancanReuseContainer(GeyserSession session, Container inventory, Container oldInventory) abstract voidcloseInventory(GeyserSession session, Container inventory, org.cloudburstmc.protocol.bedrock.data.inventory.ContainerType containerType) abstract voidopenInventory(GeyserSession session, Container inventory) abstract booleanprepareInventory(GeyserSession session, Container inventory)
-
Constructor Details
-
InventoryHolder
public InventoryHolder()
-
-
Method Details
-
canReuseContainer
public abstract boolean canReuseContainer(GeyserSession session, Container inventory, Container oldInventory) -
prepareInventory
-
openInventory
-
closeInventory
public abstract void closeInventory(GeyserSession session, Container inventory, org.cloudburstmc.protocol.bedrock.data.inventory.ContainerType containerType)
-