public class LecternInventoryTranslator extends BaseInventoryTranslator
InventoryTranslator.CraftStateINVENTORY_TRANSLATORS, PLAYER_INVENTORY_OFFSET, PLAYER_INVENTORY_SIZE, PLAYER_INVENTORY_TRANSLATOR, size| Constructor and Description |
|---|
LecternInventoryTranslator() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeInventory(GeyserSession session,
Inventory inventory) |
Inventory |
createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
static com.nukkitx.nbt.NbtMapBuilder |
getBaseLecternTag(int x,
int y,
int z,
int totalPages) |
void |
openInventory(GeyserSession session,
Inventory inventory) |
void |
prepareInventory(GeyserSession session,
Inventory inventory) |
void |
updateInventory(GeyserSession session,
Inventory inventory) |
void |
updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
bedrockSlotToJava, getSlotType, javaSlotToBedrock, javaSlotToBedrockContaineracceptRequest, checkNetId, dumpStackRequestDetails, isCursor, makeContainerEntries, makeItemEntry, rejectRequest, rejectRequest, shouldHandleRequestFirst, shouldRejectItemPlace, translateAutoCraftingRequest, translateCraftingRequest, translateCreativeRequest, translateRequest, translateRequests, translateSpecialRequestpublic void prepareInventory(GeyserSession session, Inventory inventory)
prepareInventory in class InventoryTranslatorpublic void openInventory(GeyserSession session, Inventory inventory)
openInventory in class InventoryTranslatorpublic void closeInventory(GeyserSession session, Inventory inventory)
closeInventory in class InventoryTranslatorpublic void updateProperty(GeyserSession session, Inventory inventory, int key, int value)
updateProperty in class BaseInventoryTranslatorpublic void updateInventory(GeyserSession session, Inventory inventory)
updateInventory in class InventoryTranslatorpublic void updateSlot(GeyserSession session, Inventory inventory, int slot)
updateSlot in class InventoryTranslatorpublic Inventory createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)
createInventory in class BaseInventoryTranslatorpublic static com.nukkitx.nbt.NbtMapBuilder getBaseLecternTag(int x,
int y,
int z,
int totalPages)
Copyright © 2021 GeyserMC. All rights reserved.