Uses of Class
org.geysermc.geyser.inventory.Inventory
Package
Description
-
Uses of Inventory in org.geysermc.geyser.inventory
Modifier and TypeClassDescriptionclass
Used to determine if rename packets should be sent and stores the expected level cost for AnvilInventoryUpdaterclass
class
class
Combination ofInventory
andPlayerInventory
class
class
class
class
class
class
-
Uses of Inventory in org.geysermc.geyser.inventory.click
ModifierConstructorDescriptionClickPlan(GeyserSession session, InventoryTranslator translator, Inventory inventory)
-
Uses of Inventory in org.geysermc.geyser.inventory.holder
Modifier and TypeMethodDescriptionvoid
BlockInventoryHolder.closeInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)
abstract void
InventoryHolder.closeInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)
void
BlockInventoryHolder.openInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)
abstract void
InventoryHolder.openInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)
void
BlockInventoryHolder.prepareInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)
abstract void
InventoryHolder.prepareInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)
protected void
BlockInventoryHolder.setCustomName(GeyserSession session, com.nukkitx.math.vector.Vector3i position, Inventory inventory, int javaBlockState)
-
Uses of Inventory in org.geysermc.geyser.inventory.updater
Modifier and TypeMethodDescriptionvoid
AnvilInventoryUpdater.updateInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)
void
ChestInventoryUpdater.updateInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)
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)
boolean
AnvilInventoryUpdater.updateSlot(InventoryTranslator translator, GeyserSession session, Inventory inventory, int javaSlot)
boolean
ChestInventoryUpdater.updateSlot(InventoryTranslator translator, GeyserSession session, Inventory inventory, int javaSlot)
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)
-
Uses of Inventory in org.geysermc.geyser.session
-
Uses of Inventory in org.geysermc.geyser.translator.inventory
Modifier and TypeMethodDescriptionAnvilInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
BaseInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
BeaconInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
CartographyInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
EnchantingInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
Generic3X3InventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
abstract Inventory
InventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
LecternInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
MerchantInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
PlayerInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
StonecutterInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
Modifier and TypeMethodDescriptionboolean
InventoryTranslator.checkNetId(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.StackRequestSlotInfoData slotInfoData)
void
AbstractBlockInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)
abstract void
InventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)
void
LecternInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)
void
MerchantInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)
void
PlayerInventoryTranslator.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)
void
AbstractBlockInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)
void
BrewingInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)
void
Generic3X3InventoryTranslator.openInventory(GeyserSession session, Inventory inventory)
abstract void
InventoryTranslator.openInventory(GeyserSession session, Inventory inventory)
void
LecternInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)
void
MerchantInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)
void
PlayerInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)
void
AbstractBlockInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)
abstract void
InventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)
void
LecternInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)
void
MerchantInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)
void
PlayerInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)
boolean
BeaconInventoryTranslator.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
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
LoomInventoryTranslator.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
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)
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.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)
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
MerchantInventoryTranslator.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 inPlayerInventoryTranslator
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
InventoryTranslator.translateRequest(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)
void
InventoryTranslator.translateRequests(GeyserSession session, Inventory inventory, List<com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest> requests)
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
EnchantingInventoryTranslator.translateSpecialRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)
com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.Response
InventoryTranslator.translateSpecialRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)
IfInventoryTranslator.shouldHandleRequestFirst(StackRequestActionData, Inventory)
returns true, this will be calledcom.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
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 inventoryvoid
AbstractBlockInventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)
abstract void
InventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)
void
LecternInventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)
void
MerchantInventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)
void
PlayerInventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)
void
AnvilInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)
void
BaseInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)
void
BeaconInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)
void
BrewingInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)
void
EnchantingInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)
abstract void
InventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)
void
LecternInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)
void
PlayerInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)
void
AbstractBlockInventoryTranslator.updateSlot(GeyserSession session, Inventory inventory, int slot)
abstract void
InventoryTranslator.updateSlot(GeyserSession session, Inventory inventory, int slot)
void
LecternInventoryTranslator.updateSlot(GeyserSession session, Inventory inventory, int slot)
void
MerchantInventoryTranslator.updateSlot(GeyserSession session, Inventory inventory, int slot)
void
PlayerInventoryTranslator.updateSlot(GeyserSession session, Inventory inventory, int slot)
-
Uses of Inventory in org.geysermc.geyser.translator.inventory.chest
Modifier and TypeMethodDescriptionvoid
DoubleChestInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)
void
SingleChestInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)
void
DoubleChestInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)
void
SingleChestInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)
void
DoubleChestInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)
void
SingleChestInventoryTranslator.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)
-
Uses of Inventory in org.geysermc.geyser.translator.inventory.furnace
Modifier and TypeMethodDescriptionvoid
AbstractFurnaceInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)
-
Uses of Inventory in org.geysermc.geyser.translator.inventory.horse
Modifier and TypeMethodDescriptionvoid
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)
-
Uses of Inventory in org.geysermc.geyser.util
Modifier and TypeMethodDescriptionstatic Inventory
InventoryUtils.getInventory(GeyserSession session, int windowId)
Modifier and TypeMethodDescriptionstatic void
InventoryUtils.displayInventory(GeyserSession session, Inventory inventory)
static void
InventoryUtils.openInventory(GeyserSession session, Inventory inventory)