Uses of Class
org.geysermc.connector.inventory.Inventory
Packages that use Inventory
Package
Description
-
Uses of Inventory in org.geysermc.connector.inventory
Subclasses of Inventory in org.geysermc.connector.inventoryModifier and TypeClassDescriptionclassUsed to determine if rename packets should be sent.classclassclassCombination ofInventoryandPlayerInventoryclassclassclassclassclassclass -
Uses of Inventory in org.geysermc.connector.network.translators.inventory
Methods in org.geysermc.connector.network.translators.inventory that return InventoryModifier and TypeMethodDescriptionabstract InventoryInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)Methods in org.geysermc.connector.network.translators.inventory with parameters of type InventoryModifier and TypeMethodDescriptionbooleanInventoryTranslator.checkNetId(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.StackRequestSlotInfoData slotInfoData)abstract voidInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)protected voidInventoryTranslator.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 voidInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)abstract voidInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)booleanInventoryTranslator.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.booleanInventoryTranslator.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.ResponseInventoryTranslator.translateAutoCraftingRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ResponseInventoryTranslator.translateCraftingRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ResponseInventoryTranslator.translateCreativeRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)Handled inPlayerInventoryTranslatorcom.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ResponseInventoryTranslator.translateRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)voidInventoryTranslator.translateRequests(GeyserSession session, Inventory inventory, List<com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest> requests)com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ResponseInventoryTranslator.translateSpecialRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)IfInventoryTranslator.shouldHandleRequestFirst(StackRequestActionData, Inventory)returns true, this will be calledabstract voidInventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)abstract voidInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)abstract voidInventoryTranslator.updateSlot(GeyserSession session, Inventory inventory, int slot) -
Uses of Inventory in org.geysermc.connector.network.translators.inventory.click
Constructors in org.geysermc.connector.network.translators.inventory.click with parameters of type InventoryModifierConstructorDescriptionClickPlan(GeyserSession session, InventoryTranslator translator, Inventory inventory) -
Uses of Inventory in org.geysermc.connector.network.translators.inventory.holder
Methods in org.geysermc.connector.network.translators.inventory.holder with parameters of type InventoryModifier and TypeMethodDescriptionvoidBlockInventoryHolder.closeInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)abstract voidInventoryHolder.closeInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)voidBlockInventoryHolder.openInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)abstract voidInventoryHolder.openInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)voidBlockInventoryHolder.prepareInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)abstract voidInventoryHolder.prepareInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)protected voidBlockInventoryHolder.setCustomName(GeyserSession session, com.nukkitx.math.vector.Vector3i position, Inventory inventory, int javaBlockState) -
Uses of Inventory in org.geysermc.connector.network.translators.inventory.translators
Methods in org.geysermc.connector.network.translators.inventory.translators that return InventoryModifier and TypeMethodDescriptionAnvilInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)BaseInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)BeaconInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)CartographyInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)EnchantingInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)Generic3X3InventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)LecternInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)MerchantInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)PlayerInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)StonecutterInventoryTranslator.createInventory(String name, int windowId, com.github.steveice10.mc.protocol.data.game.window.WindowType windowType, PlayerInventory playerInventory)Methods in org.geysermc.connector.network.translators.inventory.translators with parameters of type InventoryModifier and TypeMethodDescriptionvoidAbstractBlockInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)voidLecternInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)voidMerchantInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)voidPlayerInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)voidAbstractBlockInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)voidBrewingInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)voidGeneric3X3InventoryTranslator.openInventory(GeyserSession session, Inventory inventory)voidLecternInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)voidMerchantInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)voidPlayerInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)voidAbstractBlockInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)voidLecternInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)voidMerchantInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)voidPlayerInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)booleanBeaconInventoryTranslator.shouldHandleRequestFirst(com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData action, Inventory inventory)booleanEnchantingInventoryTranslator.shouldHandleRequestFirst(com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData action, Inventory inventory)booleanLoomInventoryTranslator.shouldHandleRequestFirst(com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData action, Inventory inventory)booleanStonecutterInventoryTranslator.shouldHandleRequestFirst(com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData action, Inventory inventory)booleanCartographyInventoryTranslator.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)booleanLoomInventoryTranslator.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.ResponseMerchantInventoryTranslator.translateAutoCraftingRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ResponsePlayerInventoryTranslator.translateCreativeRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ResponsePlayerInventoryTranslator.translateRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ResponseBeaconInventoryTranslator.translateSpecialRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ResponseEnchantingInventoryTranslator.translateSpecialRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ResponseLoomInventoryTranslator.translateSpecialRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)com.nukkitx.protocol.bedrock.packet.ItemStackResponsePacket.ResponseStonecutterInventoryTranslator.translateSpecialRequest(GeyserSession session, Inventory inventory, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)static voidPlayerInventoryTranslator.updateCraftingGrid(GeyserSession session, Inventory inventory)Update the crafting grid for the player to hide/show the barriers in the creative inventoryvoidAbstractBlockInventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)voidLecternInventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)voidMerchantInventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)voidPlayerInventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)voidBaseInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)voidBeaconInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)voidBrewingInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)voidEnchantingInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)voidLecternInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)voidPlayerInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value)voidAbstractBlockInventoryTranslator.updateSlot(GeyserSession session, Inventory inventory, int slot)voidLecternInventoryTranslator.updateSlot(GeyserSession session, Inventory inventory, int slot)voidMerchantInventoryTranslator.updateSlot(GeyserSession session, Inventory inventory, int slot)voidPlayerInventoryTranslator.updateSlot(GeyserSession session, Inventory inventory, int slot) -
Uses of Inventory in org.geysermc.connector.network.translators.inventory.translators.chest
Methods in org.geysermc.connector.network.translators.inventory.translators.chest with parameters of type InventoryModifier and TypeMethodDescriptionvoidDoubleChestInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)voidSingleChestInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)voidDoubleChestInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)voidSingleChestInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)voidDoubleChestInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)voidSingleChestInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)booleanChestInventoryTranslator.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)voidChestInventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)voidChestInventoryTranslator.updateSlot(GeyserSession session, Inventory inventory, int slot) -
Uses of Inventory in org.geysermc.connector.network.translators.inventory.translators.furnace
Methods in org.geysermc.connector.network.translators.inventory.translators.furnace with parameters of type InventoryModifier and TypeMethodDescriptionvoidAbstractFurnaceInventoryTranslator.updateProperty(GeyserSession session, Inventory inventory, int key, int value) -
Uses of Inventory in org.geysermc.connector.network.translators.inventory.translators.horse
Methods in org.geysermc.connector.network.translators.inventory.translators.horse with parameters of type InventoryModifier and TypeMethodDescriptionvoidAbstractHorseInventoryTranslator.closeInventory(GeyserSession session, Inventory inventory)voidAbstractHorseInventoryTranslator.openInventory(GeyserSession session, Inventory inventory)voidAbstractHorseInventoryTranslator.prepareInventory(GeyserSession session, Inventory inventory)voidAbstractHorseInventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)voidChestedHorseInventoryTranslator.updateInventory(GeyserSession session, Inventory inventory)voidAbstractHorseInventoryTranslator.updateSlot(GeyserSession session, Inventory inventory, int slot) -
Uses of Inventory in org.geysermc.connector.network.translators.inventory.updater
Methods in org.geysermc.connector.network.translators.inventory.updater with parameters of type InventoryModifier and TypeMethodDescriptionvoidChestInventoryUpdater.updateInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)voidContainerInventoryUpdater.updateInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)voidHorseInventoryUpdater.updateInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)voidInventoryUpdater.updateInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)voidUIInventoryUpdater.updateInventory(InventoryTranslator translator, GeyserSession session, Inventory inventory)booleanChestInventoryUpdater.updateSlot(InventoryTranslator translator, GeyserSession session, Inventory inventory, int javaSlot)booleanContainerInventoryUpdater.updateSlot(InventoryTranslator translator, GeyserSession session, Inventory inventory, int javaSlot)booleanHorseInventoryUpdater.updateSlot(InventoryTranslator translator, GeyserSession session, Inventory inventory, int javaSlot)booleanInventoryUpdater.updateSlot(InventoryTranslator translator, GeyserSession session, Inventory inventory, int javaSlot)booleanUIInventoryUpdater.updateSlot(InventoryTranslator translator, GeyserSession session, Inventory inventory, int javaSlot) -
Uses of Inventory in org.geysermc.connector.utils
Methods in org.geysermc.connector.utils that return InventoryModifier and TypeMethodDescriptionstatic InventoryInventoryUtils.getInventory(GeyserSession session, int windowId)Methods in org.geysermc.connector.utils with parameters of type InventoryModifier and TypeMethodDescriptionstatic voidInventoryUtils.displayInventory(GeyserSession session, Inventory inventory)static voidInventoryUtils.openInventory(GeyserSession session, Inventory inventory)