| Modifier and Type | Class and Description |
|---|---|
class |
AnvilContainer
Used to determine if rename packets should be sent.
|
class |
BeaconContainer |
class |
CartographyContainer |
class |
Container
Combination of
Inventory and PlayerInventory |
class |
EnchantingContainer |
class |
Generic3X3Container |
class |
LecternContainer |
class |
MerchantContainer |
class |
PlayerInventory |
class |
StonecutterContainer |
| Modifier and Type | Method and Description |
|---|---|
abstract Inventory |
InventoryTranslator.createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
InventoryTranslator.checkNetId(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.StackRequestSlotInfoData slotInfoData) |
abstract void |
InventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
protected void |
InventoryTranslator.dumpStackRequestDetails(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.StackRequestSlotInfoData source,
com.nukkitx.protocol.bedrock.data.inventory.StackRequestSlotInfoData destination)
Print out the contents of an ItemStackRequest, should the net ID check fail.
|
List<com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ContainerEntry> |
InventoryTranslator.makeContainerEntries(GeyserSession session,
Inventory inventory,
Set<Integer> affectedSlots) |
abstract void |
InventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
abstract void |
InventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
boolean |
InventoryTranslator.shouldHandleRequestFirst(com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData action,
Inventory inventory)
Should be overrided if this request matches a certain criteria and shouldn't be treated normally.
|
boolean |
InventoryTranslator.shouldRejectItemPlace(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockSourceContainer,
int javaSourceSlot,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockDestinationContainer,
int javaDestinationSlot)
Should be overwritten in cases where specific inventories should reject an item being in a specific spot.
|
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
InventoryTranslator.translateAutoCraftingRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
InventoryTranslator.translateCraftingRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
InventoryTranslator.translateCreativeRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)
Handled in
PlayerInventoryTranslator |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
InventoryTranslator.translateRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
void |
InventoryTranslator.translateRequests(GeyserSession session,
Inventory inventory,
List<com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest> requests) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
InventoryTranslator.translateSpecialRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)
If
InventoryTranslator.shouldHandleRequestFirst(StackRequestActionData, Inventory) returns true, this will be called |
abstract void |
InventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
abstract void |
InventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
abstract void |
InventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
| Constructor and Description |
|---|
ClickPlan(GeyserSession session,
InventoryTranslator translator,
Inventory inventory) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
InventoryHolder.closeInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
BlockInventoryHolder.closeInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
abstract void |
InventoryHolder.openInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
BlockInventoryHolder.openInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
abstract void |
InventoryHolder.prepareInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
BlockInventoryHolder.prepareInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
protected void |
BlockInventoryHolder.setCustomName(GeyserSession session,
com.nukkitx.math.vector.Vector3i position,
Inventory inventory,
int javaBlockState) |
| Modifier and Type | Method and Description |
|---|---|
Inventory |
MerchantInventoryTranslator.createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
Inventory |
BaseInventoryTranslator.createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
Inventory |
Generic3X3InventoryTranslator.createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
Inventory |
AnvilInventoryTranslator.createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
Inventory |
EnchantingInventoryTranslator.createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
Inventory |
BeaconInventoryTranslator.createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
Inventory |
PlayerInventoryTranslator.createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
Inventory |
CartographyInventoryTranslator.createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
Inventory |
StonecutterInventoryTranslator.createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
Inventory |
LecternInventoryTranslator.createInventory(String name,
int windowId,
com.github.steveice10.mc.protocol.data.game.window.WindowType windowType,
PlayerInventory playerInventory) |
| Modifier and Type | Method and Description |
|---|---|
void |
MerchantInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
PlayerInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractBlockInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
LecternInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
MerchantInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
BrewingInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
Generic3X3InventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
PlayerInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractBlockInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
LecternInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
MerchantInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
void |
PlayerInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractBlockInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
void |
LecternInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
boolean |
LoomInventoryTranslator.shouldHandleRequestFirst(com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData action,
Inventory inventory) |
boolean |
EnchantingInventoryTranslator.shouldHandleRequestFirst(com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData action,
Inventory inventory) |
boolean |
BeaconInventoryTranslator.shouldHandleRequestFirst(com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData action,
Inventory inventory) |
boolean |
StonecutterInventoryTranslator.shouldHandleRequestFirst(com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData action,
Inventory inventory) |
boolean |
LoomInventoryTranslator.shouldRejectItemPlace(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockSourceContainer,
int javaSourceSlot,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockDestinationContainer,
int javaDestinationSlot) |
boolean |
CartographyInventoryTranslator.shouldRejectItemPlace(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockSourceContainer,
int javaSourceSlot,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockDestinationContainer,
int javaDestinationSlot) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
MerchantInventoryTranslator.translateAutoCraftingRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
PlayerInventoryTranslator.translateCreativeRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
PlayerInventoryTranslator.translateRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
LoomInventoryTranslator.translateSpecialRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
EnchantingInventoryTranslator.translateSpecialRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
BeaconInventoryTranslator.translateSpecialRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response |
StonecutterInventoryTranslator.translateSpecialRequest(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
static void |
PlayerInventoryTranslator.updateCraftingGrid(GeyserSession session,
Inventory inventory)
Update the crafting grid for the player to hide/show the barriers in the creative inventory
|
void |
MerchantInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
PlayerInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractBlockInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
LecternInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
BrewingInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
BaseInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
EnchantingInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
BeaconInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
PlayerInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
LecternInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
void |
MerchantInventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
void |
PlayerInventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
void |
AbstractBlockInventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
void |
LecternInventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
| Modifier and Type | Method and Description |
|---|---|
void |
SingleChestInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
DoubleChestInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
SingleChestInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
DoubleChestInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
SingleChestInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
void |
DoubleChestInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
boolean |
ChestInventoryTranslator.shouldRejectItemPlace(GeyserSession session,
Inventory inventory,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockSourceContainer,
int javaSourceSlot,
com.nukkitx.protocol.bedrock.data.inventory.ContainerSlotType bedrockDestinationContainer,
int javaDestinationSlot) |
void |
ChestInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
ChestInventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractFurnaceInventoryTranslator.updateProperty(GeyserSession session,
Inventory inventory,
int key,
int value) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractHorseInventoryTranslator.closeInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractHorseInventoryTranslator.openInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractHorseInventoryTranslator.prepareInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractHorseInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
ChestedHorseInventoryTranslator.updateInventory(GeyserSession session,
Inventory inventory) |
void |
AbstractHorseInventoryTranslator.updateSlot(GeyserSession session,
Inventory inventory,
int slot) |
| Modifier and Type | Method and Description |
|---|---|
void |
ContainerInventoryUpdater.updateInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
HorseInventoryUpdater.updateInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
InventoryUpdater.updateInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
UIInventoryUpdater.updateInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
void |
ChestInventoryUpdater.updateInventory(InventoryTranslator translator,
GeyserSession session,
Inventory inventory) |
boolean |
ContainerInventoryUpdater.updateSlot(InventoryTranslator translator,
GeyserSession session,
Inventory inventory,
int javaSlot) |
boolean |
HorseInventoryUpdater.updateSlot(InventoryTranslator translator,
GeyserSession session,
Inventory inventory,
int javaSlot) |
boolean |
InventoryUpdater.updateSlot(InventoryTranslator translator,
GeyserSession session,
Inventory inventory,
int javaSlot) |
boolean |
UIInventoryUpdater.updateSlot(InventoryTranslator translator,
GeyserSession session,
Inventory inventory,
int javaSlot) |
boolean |
ChestInventoryUpdater.updateSlot(InventoryTranslator translator,
GeyserSession session,
Inventory inventory,
int javaSlot) |
| Modifier and Type | Method and Description |
|---|---|
static Inventory |
InventoryUtils.getInventory(GeyserSession session,
int windowId) |
| Modifier and Type | Method and Description |
|---|---|
static void |
InventoryUtils.displayInventory(GeyserSession session,
Inventory inventory) |
static void |
InventoryUtils.openInventory(GeyserSession session,
Inventory inventory) |
Copyright © 2021 GeyserMC. All rights reserved.