Class Generic3X3InventoryTranslator
java.lang.Object
org.geysermc.geyser.translator.inventory.InventoryTranslator
org.geysermc.geyser.translator.inventory.BaseInventoryTranslator
org.geysermc.geyser.translator.inventory.AbstractBlockInventoryTranslator
org.geysermc.geyser.translator.inventory.Generic3X3InventoryTranslator
Droppers and dispensers
-
Nested Class Summary
Nested classes/interfaces inherited from class org.geysermc.geyser.translator.inventory.InventoryTranslator
InventoryTranslator.CraftState
-
Field Summary
Fields inherited from class org.geysermc.geyser.translator.inventory.InventoryTranslator
INVENTORY_TRANSLATORS, PLAYER_INVENTORY_OFFSET, PLAYER_INVENTORY_SIZE, PLAYER_INVENTORY_TRANSLATOR, size
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
javaSlotToBedrockContainer(int javaSlot)
void
openInventory(GeyserSession session, Inventory inventory)
Methods inherited from class org.geysermc.geyser.translator.inventory.AbstractBlockInventoryTranslator
closeInventory, prepareInventory, updateInventory, updateSlot
Methods inherited from class org.geysermc.geyser.translator.inventory.BaseInventoryTranslator
bedrockSlotToJava, getSlotType, javaSlotToBedrock, updateProperty
Methods inherited from class org.geysermc.geyser.translator.inventory.InventoryTranslator
acceptRequest, checkNetId, dumpStackRequestDetails, isCursor, makeContainerEntries, makeItemEntry, rejectRequest, rejectRequest, shouldHandleRequestFirst, shouldRejectItemPlace, translateAutoCraftingRequest, translateCraftingRequest, translateCreativeRequest, translateRequest, translateRequests, translateSpecialRequest
-
Constructor Details
-
Generic3X3InventoryTranslator
public Generic3X3InventoryTranslator()
-
-
Method Details
-
createInventory
public Inventory createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)- Overrides:
createInventory
in classBaseInventoryTranslator
-
openInventory
- Overrides:
openInventory
in classAbstractBlockInventoryTranslator
-
javaSlotToBedrockContainer
- Overrides:
javaSlotToBedrockContainer
in classBaseInventoryTranslator
-