Class InventoryUpdater
java.lang.Object
org.geysermc.geyser.inventory.updater.InventoryUpdater
- Direct Known Subclasses:
AnvilInventoryUpdater
,ChestInventoryUpdater
,ContainerInventoryUpdater
,HorseInventoryUpdater
,UIInventoryUpdater
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)
boolean
updateSlot(InventoryTranslator translator, GeyserSession session, Inventory inventory, int javaSlot)
-
Constructor Details
-
InventoryUpdater
public InventoryUpdater()
-
-
Method Details
-
updateInventory
public void updateInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory) -
updateSlot
public boolean updateSlot(InventoryTranslator translator, GeyserSession session, Inventory inventory, int javaSlot)
-