Class ContainerInventoryUpdater
java.lang.Object
org.geysermc.geyser.inventory.updater.InventoryUpdater
org.geysermc.geyser.inventory.updater.ContainerInventoryUpdater
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)
boolean
updateSlot(InventoryTranslator translator, GeyserSession session, Inventory inventory, int javaSlot)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ContainerInventoryUpdater
public ContainerInventoryUpdater()
-
-
Method Details
-
updateInventory
public void updateInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)- Overrides:
updateInventory
in classInventoryUpdater
-
updateSlot
public boolean updateSlot(InventoryTranslator translator, GeyserSession session, Inventory inventory, int javaSlot)- Overrides:
updateSlot
in classInventoryUpdater
-