Uses of Class
net.minecraft.world.entity.player.Inventory
Packages that use Inventory
Package
Description
-
Uses of Inventory in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type InventoryModifier and TypeMethodDescriptionboolean
InventoryChangeTrigger.TriggerInstance.matches
(Inventory inventory, ItemStack stack, int full, int empty, int occupied) void
InventoryChangeTrigger.trigger
(ServerPlayer player, Inventory inventory, ItemStack stack) private void
InventoryChangeTrigger.trigger
(ServerPlayer player, Inventory inventory, ItemStack stack, int full, int empty, int occupied) -
Uses of Inventory in net.minecraft.client.gui.screens
Methods in net.minecraft.client.gui.screens with parameters of type Inventory -
Uses of Inventory in net.minecraft.client.gui.screens.inventory
Constructors in net.minecraft.client.gui.screens.inventory with parameters of type InventoryModifierConstructorDescriptionAbstractContainerScreen
(T menu, Inventory playerInventory, Component title) AbstractFurnaceScreen
(T menu, AbstractFurnaceRecipeBookComponent recipeBookComponent, Inventory playerInventory, Component title, ResourceLocation texture, ResourceLocation listProgressSprite, ResourceLocation burnProgressSprite) AnvilScreen
(AnvilMenu menu, Inventory playerInventory, Component title) BeaconScreen
(BeaconMenu menu, Inventory playerInventory, Component title) BlastFurnaceScreen
(BlastFurnaceMenu menu, Inventory playerInventory, Component title) BrewingStandScreen
(BrewingStandMenu menu, Inventory playerInventory, Component title) CartographyTableScreen
(CartographyTableMenu menu, Inventory playerInventory, Component title) ContainerScreen
(ChestMenu menu, Inventory playerInventory, Component title) CrafterScreen
(CrafterMenu menu, Inventory playerInventory, Component title) CraftingScreen
(CraftingMenu menu, Inventory playerInventory, Component title) DispenserScreen
(DispenserMenu menu, Inventory playerInventory, Component title) EffectRenderingInventoryScreen
(T menu, Inventory playerInventory, Component title) EnchantmentScreen
(EnchantmentMenu menu, Inventory playerInventory, Component title) FurnaceScreen
(FurnaceMenu menu, Inventory playerInventory, Component title) GrindstoneScreen
(GrindstoneMenu menu, Inventory playerInventory, Component title) HopperScreen
(HopperMenu menu, Inventory playerInventory, Component title) HorseInventoryScreen
(HorseInventoryMenu menu, Inventory inventory, AbstractHorse horse, int inventoryColumns) ItemCombinerScreen
(T menu, Inventory playerInventory, Component title, ResourceLocation menuResource) LecternScreen
(LecternMenu menu, Inventory playerInventory, Component title) LoomScreen
(LoomMenu menu, Inventory playerInventory, Component title) MerchantScreen
(MerchantMenu menu, Inventory playerInventory, Component title) ShulkerBoxScreen
(ShulkerBoxMenu menu, Inventory playerInventory, Component title) SmithingScreen
(SmithingMenu menu, Inventory playerInventory, Component title) SmokerScreen
(SmokerMenu menu, Inventory playerInventory, Component title) StonecutterScreen
(StonecutterMenu menu, Inventory playerInventory, Component title) -
Uses of Inventory in net.minecraft.client.player.inventory
Methods in net.minecraft.client.player.inventory with parameters of type InventoryModifier and TypeMethodDescriptionvoid
Hotbar.storeFrom
(Inventory inventory, RegistryAccess registryAccess) -
Uses of Inventory in net.minecraft.recipebook
Fields in net.minecraft.recipebook declared as Inventory -
Uses of Inventory in net.minecraft.world
Methods in net.minecraft.world with parameters of type InventoryModifier and TypeMethodDescriptionSimpleMenuProvider.createMenu
(int containerId, Inventory playerInventory, Player player) -
Uses of Inventory in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player declared as InventoryMethods in net.minecraft.world.entity.player that return InventoryMethods in net.minecraft.world.entity.player with parameters of type InventoryModifier and TypeMethodDescriptionvoid
Inventory.replaceWith
(Inventory playerInventory) Copy the ItemStack contents from another InventoryPlayer instance -
Uses of Inventory in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle with parameters of type InventoryModifier and TypeMethodDescriptionprotected abstract AbstractContainerMenu
AbstractMinecartContainer.createMenu
(int containerId, Inventory playerInventory) AbstractMinecartContainer.createMenu
(int containerId, Inventory playerInventory, Player player) ChestBoat.createMenu
(int containerId, Inventory playerInventory, Player player) MinecartChest.createMenu
(int id, Inventory playerInventory) MinecartHopper.createMenu
(int id, Inventory playerInventory) -
Uses of Inventory in net.minecraft.world.inventory
Methods in net.minecraft.world.inventory with parameters of type InventoryModifier and TypeMethodDescriptionprivate void
MenuType.create
(int containerId, Inventory playerInventory, RegistryFriendlyByteBuf extraData) private void
ItemCombinerMenu.createInventorySlots
(Inventory inventory) MenuConstructor.createMenu
(int containerId, Inventory playerInventory, Player player) static ChestMenu
static ChestMenu
static ChestMenu
static ChestMenu
static ChestMenu
static ChestMenu
static ChestMenu
static ChestMenu
Constructors in net.minecraft.world.inventory with parameters of type InventoryModifierConstructorDescriptionprotected
AbstractFurnaceMenu
(MenuType<?> menuType, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookType recipeBookType, int containerId, Inventory playerInventory) protected
AbstractFurnaceMenu
(MenuType<?> menuType, RecipeType<? extends AbstractCookingRecipe> recipeType, RecipeBookType recipeBookType, int containerId, Inventory playerInventory, Container container, ContainerData data) AnvilMenu
(int containerId, Inventory playerInventory, ContainerLevelAccess access) BlastFurnaceMenu
(int containerId, Inventory playerInventory) BlastFurnaceMenu
(int containerId, Inventory playerInventory, Container blastFurnaceContainer, ContainerData blastFurnaceData) BrewingStandMenu
(int containerId, Inventory playerInventory) BrewingStandMenu
(int containerId, Inventory playerInventory, Container brewingStandContainer, ContainerData brewingStandData) CartographyTableMenu
(int containerId, Inventory playerInventory) CartographyTableMenu
(int containerId, Inventory playerInventory, ContainerLevelAccess access) private
ChestMenu
(MenuType<?> type, int containerId, Inventory playerInventory, Container container, int rows) CrafterMenu
(int containerId, Inventory playerInventory) CrafterMenu
(int containerId, Inventory playerInventory, CraftingContainer container, ContainerData containerData) CraftingMenu
(int containerId, Inventory playerInventory) CraftingMenu
(int containerId, Inventory playerInventory, ContainerLevelAccess access) DispenserMenu
(int containerId, Inventory playerInventory) DispenserMenu
(int containerId, Inventory playerInventory, Container container) EnchantmentMenu
(int containerId, Inventory playerInventory) EnchantmentMenu
(int containerId, Inventory playerInventory, ContainerLevelAccess access) FurnaceMenu
(int containerId, Inventory playerInventory) FurnaceMenu
(int containerId, Inventory playerInventory, Container furnaceContainer, ContainerData furnaceData) GrindstoneMenu
(int containerId, Inventory playerInventory) GrindstoneMenu
(int containerId, Inventory playerInventory, ContainerLevelAccess access) HopperMenu
(int containerId, Inventory playerInventory) HopperMenu
(int containerId, Inventory playerInventory, Container container) HorseInventoryMenu
(int containerId, Inventory inventory, Container horseContainer, AbstractHorse horse, int columns) InventoryMenu
(Inventory playerInventory, boolean active, Player owner) ItemCombinerMenu
(MenuType<?> type, int containerId, Inventory playerInventory, ContainerLevelAccess access) LoomMenu
(int containerId, Inventory playerInventory, ContainerLevelAccess access) MerchantMenu
(int containerId, Inventory playerInventory) MerchantMenu
(int containerId, Inventory playerInventory, Merchant trader) ShulkerBoxMenu
(int containerId, Inventory playerInventory) ShulkerBoxMenu
(int containerId, Inventory playerInventory, Container container) SmithingMenu
(int containerId, Inventory playerInventory) SmithingMenu
(int containerId, Inventory playerInventory, ContainerLevelAccess access) SmokerMenu
(int containerId, Inventory playerInventory) SmokerMenu
(int containerId, Inventory playerInventory, Container smokerContainer, ContainerData smokerData) StonecutterMenu
(int containerId, Inventory playerInventory) StonecutterMenu
(int containerId, Inventory playerInventory, ContainerLevelAccess access) -
Uses of Inventory in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity with parameters of type InventoryModifier and TypeMethodDescriptionprotected AbstractContainerMenu
BarrelBlockEntity.createMenu
(int id, Inventory player) protected abstract AbstractContainerMenu
BaseContainerBlockEntity.createMenu
(int containerId, Inventory inventory) BaseContainerBlockEntity.createMenu
(int containerId, Inventory playerInventory, Player player) BeaconBlockEntity.createMenu
(int containerId, Inventory playerInventory, Player player) protected AbstractContainerMenu
BlastFurnaceBlockEntity.createMenu
(int id, Inventory player) protected AbstractContainerMenu
BrewingStandBlockEntity.createMenu
(int id, Inventory player) protected AbstractContainerMenu
ChestBlockEntity.createMenu
(int id, Inventory player) protected AbstractContainerMenu
CrafterBlockEntity.createMenu
(int containerId, Inventory inventory) protected AbstractContainerMenu
DispenserBlockEntity.createMenu
(int id, Inventory player) protected AbstractContainerMenu
FurnaceBlockEntity.createMenu
(int id, Inventory player) protected AbstractContainerMenu
HopperBlockEntity.createMenu
(int id, Inventory player) LecternBlockEntity.createMenu
(int containerId, Inventory playerInventory, Player player) RandomizableContainerBlockEntity.createMenu
(int containerId, Inventory playerInventory, Player player) protected AbstractContainerMenu
ShulkerBoxBlockEntity.createMenu
(int id, Inventory player) protected AbstractContainerMenu
SmokerBlockEntity.createMenu
(int id, Inventory player) -
Uses of Inventory in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type InventoryModifier and TypeMethodDescriptionIMenuTypeExtension.create
(int windowId, Inventory playerInv, RegistryFriendlyByteBuf extraData) -
Uses of Inventory in net.neoforged.neoforge.items.wrapper
Fields in net.neoforged.neoforge.items.wrapper declared as InventoryModifier and TypeFieldDescriptionprivate final Inventory
PlayerArmorInvWrapper.inventoryPlayer
private final Inventory
PlayerMainInvWrapper.inventoryPlayer
Methods in net.neoforged.neoforge.items.wrapper that return InventoryModifier and TypeMethodDescriptionPlayerArmorInvWrapper.getInventoryPlayer()
PlayerMainInvWrapper.getInventoryPlayer()
Constructors in net.neoforged.neoforge.items.wrapper with parameters of type InventoryModifierConstructorDescription -
Uses of Inventory in net.neoforged.neoforge.network
Methods in net.neoforged.neoforge.network with parameters of type InventoryModifier and TypeMethodDescriptiondefault T
IContainerFactory.create
(int windowId, Inventory inv, RegistryFriendlyByteBuf data) Constructs a menu instance on the client-side in response to a menu being opened on the server-side for a player.