public class Generic3X3InventoryTranslator extends AbstractBlockInventoryTranslator
InventoryTranslator.CraftStateINVENTORY_TRANSLATORS, PLAYER_INVENTORY_OFFSET, PLAYER_INVENTORY_SIZE, PLAYER_INVENTORY_TRANSLATOR, size| Constructor and Description |
|---|
Generic3X3InventoryTranslator() |
| Modifier and Type | Method and Description |
|---|---|
Inventory |
createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
BedrockContainerSlot |
javaSlotToBedrockContainer(int javaSlot) |
void |
openInventory(GeyserSession session,
Inventory inventory) |
closeInventory, prepareInventory, updateInventory, updateSlotbedrockSlotToJava, getSlotType, javaSlotToBedrock, updatePropertyacceptRequest, checkNetId, dumpStackRequestDetails, isCursor, makeContainerEntries, makeItemEntry, rejectRequest, rejectRequest, shouldHandleRequestFirst, shouldRejectItemPlace, translateAutoCraftingRequest, translateCraftingRequest, translateCreativeRequest, translateRequest, translateRequests, translateSpecialRequestpublic Inventory createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)
createInventory in class BaseInventoryTranslatorpublic void openInventory(GeyserSession session, Inventory inventory)
openInventory in class AbstractBlockInventoryTranslatorpublic BedrockContainerSlot javaSlotToBedrockContainer(int javaSlot)
javaSlotToBedrockContainer in class BaseInventoryTranslatorCopyright © 2021 GeyserMC. All rights reserved.