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 pInventory, ItemStack pStack, int pFull, int pEmpty, int pOccupied) void
InventoryChangeTrigger.trigger
(ServerPlayer pPlayer, Inventory pInventory, ItemStack pStack) private void
InventoryChangeTrigger.trigger
(ServerPlayer pPlayer, Inventory pInventory, ItemStack pStack, int pFull, int pEmpty, int pOccupied) -
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 pMenu, Inventory pPlayerInventory, Component pTitle) AbstractFurnaceScreen
(T pMenu, Inventory pPlayerInventory, Component pTitle, Component pRecipeFilterName, ResourceLocation pTexture, ResourceLocation pLitProgressSprite, ResourceLocation pBurnProgressSprite, List<RecipeBookComponent.TabInfo> pTabInfos) AbstractRecipeBookScreen
(T pMenu, RecipeBookComponent<?> pRecipeBookComponent, Inventory pPlayerInventory, Component pTitle) AnvilScreen
(AnvilMenu pMenu, Inventory pPlayerInventory, Component pTitle) BeaconScreen
(BeaconMenu pMenu, Inventory pPlayerInventory, Component pTitle) BlastFurnaceScreen
(BlastFurnaceMenu pMenu, Inventory pPlayerInventory, Component pTitle) BrewingStandScreen
(BrewingStandMenu pMenu, Inventory pPlayerInventory, Component pTitle) CartographyTableScreen
(CartographyTableMenu pMenu, Inventory pPlayerInventory, Component pTitle) ContainerScreen
(ChestMenu pMenu, Inventory pPlayerInventory, Component pTitle) CrafterScreen
(CrafterMenu pMenu, Inventory pPlayerInventory, Component pTitle) CraftingScreen
(CraftingMenu pMenu, Inventory pPlayerInventory, Component pTitle) DispenserScreen
(DispenserMenu pMenu, Inventory pPlayerInventory, Component pTitle) EnchantmentScreen
(EnchantmentMenu pMenu, Inventory pPlayerInventory, Component pTitle) FurnaceScreen
(FurnaceMenu pMenu, Inventory pPlayerInventory, Component pTitle) GrindstoneScreen
(GrindstoneMenu pMenu, Inventory pPlayerInventory, Component pTitle) HopperScreen
(HopperMenu pMenu, Inventory pPlayerInventory, Component pTitle) HorseInventoryScreen
(HorseInventoryMenu pMenu, Inventory pInventory, AbstractHorse pHorse, int pInventoryColumns) ItemCombinerScreen
(T pMenu, Inventory pPlayerInventory, Component pTitle, ResourceLocation pMenuResource) LecternScreen
(LecternMenu pMenu, Inventory pPlayerInventory, Component pTitle) LoomScreen
(LoomMenu pMenu, Inventory pPlayerInventory, Component pTitle) MerchantScreen
(MerchantMenu pMenu, Inventory pPlayerInventory, Component pTitle) ShulkerBoxScreen
(ShulkerBoxMenu pMenu, Inventory pPlayerInventory, Component pTitle) SmithingScreen
(SmithingMenu pMenu, Inventory pPlayerInventory, Component pTitle) SmokerScreen
(SmokerMenu pMenu, Inventory pPlayerInventory, Component pTitle) StonecutterScreen
(StonecutterMenu pMenu, Inventory pPlayerInventory, Component pTitle) -
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 pInventory, RegistryAccess pRegistryAccess) -
Uses of Inventory in net.minecraft.recipebook
Fields in net.minecraft.recipebook declared as InventoryMethods in net.minecraft.recipebook with parameters of type InventoryModifier and TypeMethodDescriptionstatic <I extends RecipeInput,
R extends Recipe<I>>
RecipeBookMenu.PostPlaceActionServerPlaceRecipe.placeRecipe
(ServerPlaceRecipe.CraftingMenuAccess<R> pMenu, int pGridWidth, int pGridHeight, List<Slot> pInputGridSlots, List<Slot> pSlotsToClear, Inventory pInventory, RecipeHolder<R> pRecipe, boolean pUseMaxItems, boolean pIsCreative) Constructors in net.minecraft.recipebook with parameters of type InventoryModifierConstructorDescriptionprivate
ServerPlaceRecipe
(ServerPlaceRecipe.CraftingMenuAccess<R> pMenu, Inventory pInventory, boolean pUseMaxItems, int pGridWidth, int pGridHeight, List<Slot> pInputGridSlots, List<Slot> pSlotsToClear) -
Uses of Inventory in net.minecraft.world
Methods in net.minecraft.world with parameters of type InventoryModifier and TypeMethodDescriptionSimpleMenuProvider.createMenu
(int p_19205_, Inventory p_19206_, Player p_19207_) -
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 pPlayerInventory) 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 TypeMethodDescriptionAbstractChestBoat.createMenu
(int p_376862_, Inventory p_376651_, Player p_376108_) protected abstract AbstractContainerMenu
AbstractMinecartContainer.createMenu
(int pContainerId, Inventory pPlayerInventory) AbstractMinecartContainer.createMenu
(int pContainerId, Inventory pPlayerInventory, Player p_38253_) MinecartChest.createMenu
(int pId, Inventory pPlayerInventory) MinecartHopper.createMenu
(int pId, Inventory pPlayerInventory) -
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 pContainerId, Inventory pPlayerInventory, RegistryFriendlyByteBuf extraData) MenuConstructor.createMenu
(int pContainerId, Inventory pPlayerInventory, Player pPlayer) static ChestMenu
static ChestMenu
AbstractCraftingMenu.handlePlacement
(boolean p_361638_, boolean p_361841_, RecipeHolder<?> p_364981_, ServerLevel p_379885_, Inventory p_361078_) AbstractFurnaceMenu.handlePlacement
(boolean p_361547_, boolean p_363944_, RecipeHolder<?> p_360938_, ServerLevel p_379475_, Inventory p_361954_) abstract RecipeBookMenu.PostPlaceAction
RecipeBookMenu.handlePlacement
(boolean pUseMaxItems, boolean pIsCreative, RecipeHolder<?> pRecipe, ServerLevel pLevel, Inventory pPlayerInventory) 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<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, ResourceKey<RecipePropertySet> pAcceptedInputs, RecipeBookType pRecipeBookType, int pContainerId, Inventory pInventory) protected
AbstractFurnaceMenu
(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, ResourceKey<RecipePropertySet> pAcceptedInputs, RecipeBookType pRecipeBookType, int pContainerId, Inventory pInventory, Container pContainer, ContainerData pData) AnvilMenu
(int pContainerId, Inventory pPlayerInventory, ContainerLevelAccess pAccess) BlastFurnaceMenu
(int pContainerId, Inventory pPlayerInventory) BlastFurnaceMenu
(int pContainerId, Inventory pPlayerInventory, Container pBlastFurnaceContainer, ContainerData pBlastFurnaceData) BrewingStandMenu
(int pContainerId, Inventory pPlayerInventory) BrewingStandMenu
(int pContainerId, Inventory pPlayerInventory, Container pBrewingStandContainer, ContainerData pBrewingStandData) CartographyTableMenu
(int pContainerId, Inventory pPlayerInventory) CartographyTableMenu
(int pContainerId, Inventory pPlayerInventory, ContainerLevelAccess pAccess) private
ChestMenu
(MenuType<?> pType, int pContainerId, Inventory pPlayerInventory, Container pContainer, int pRows) CrafterMenu
(int pContainerId, Inventory pPlayerInventory) CrafterMenu
(int pContainerId, Inventory pPlayerInventory, CraftingContainer pContainer, ContainerData pContainerData) CraftingMenu
(int pContainerId, Inventory pPlayerInventory) CraftingMenu
(int pContainerId, Inventory pPlayerInventory, ContainerLevelAccess pAccess) DispenserMenu
(int pContainerId, Inventory pPlayerInventory) DispenserMenu
(int pContainerId, Inventory pPlayerInventory, Container pContainer) EnchantmentMenu
(int pContainerId, Inventory pPlayerInventory) EnchantmentMenu
(int pContainerId, Inventory pPlayerInventory, ContainerLevelAccess pAccess) FurnaceMenu
(int pContainerId, Inventory pPlayerInventory) FurnaceMenu
(int pContainerId, Inventory pPlayerInventory, Container pFurnaceContainer, ContainerData pFurnaceData) GrindstoneMenu
(int pContainerId, Inventory pPlayerInventory) GrindstoneMenu
(int pContainerId, Inventory pPlayerInventory, ContainerLevelAccess pAccess) HopperMenu
(int pContainerId, Inventory pPlayerInventory) HopperMenu
(int pContainerId, Inventory pPlayerInventory, Container pContainer) HorseInventoryMenu
(int pContainerId, Inventory pInventory, Container pHorseContainer, AbstractHorse pHorse, int pColumns) InventoryMenu
(Inventory pPlayerInventory, boolean pActive, Player pOwner) ItemCombinerMenu
(MenuType<?> pMenuType, int pContainerId, Inventory pInventory, ContainerLevelAccess pAccess, ItemCombinerMenuSlotDefinition pSlotDefinition) LoomMenu
(int pContainerId, Inventory pPlayerInventory, ContainerLevelAccess pAccess) MerchantMenu
(int pContainerId, Inventory pPlayerInventory) MerchantMenu
(int pContainerId, Inventory pPlayerInventory, Merchant pTrader) ShulkerBoxMenu
(int pContainerId, Inventory pPlayerInventory) ShulkerBoxMenu
(int pContainerId, Inventory pPlayerInventory, Container pContainer) SmithingMenu
(int pContainerId, Inventory pPlayerInventory) SmithingMenu
(int pContainerId, Inventory pPlayerInventory, ContainerLevelAccess pAccess) private
SmithingMenu
(int pContainerId, Inventory pPlayerInventory, ContainerLevelAccess pAccess, Level pLevel) SmokerMenu
(int pContainerId, Inventory pPlayerInventory) SmokerMenu
(int pContainerId, Inventory pPlayerInventory, Container pSmokerContainer, ContainerData pSmokerData) StonecutterMenu
(int pContainerId, Inventory pPlayerInventory) StonecutterMenu
(int pContainerId, Inventory pPlayerInventory, ContainerLevelAccess pAccess) -
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 pId, Inventory pPlayer) protected abstract AbstractContainerMenu
BaseContainerBlockEntity.createMenu
(int pContainerId, Inventory pInventory) BaseContainerBlockEntity.createMenu
(int pContainerId, Inventory pInventory, Player p_58643_) BeaconBlockEntity.createMenu
(int p_58696_, Inventory p_58697_, Player p_58698_) protected AbstractContainerMenu
BlastFurnaceBlockEntity.createMenu
(int pId, Inventory pPlayer) protected AbstractContainerMenu
BrewingStandBlockEntity.createMenu
(int pId, Inventory pPlayer) protected AbstractContainerMenu
ChestBlockEntity.createMenu
(int pId, Inventory pPlayer) protected AbstractContainerMenu
CrafterBlockEntity.createMenu
(int p_307441_, Inventory p_307664_) protected AbstractContainerMenu
DispenserBlockEntity.createMenu
(int pId, Inventory pPlayer) protected AbstractContainerMenu
FurnaceBlockEntity.createMenu
(int pId, Inventory pPlayer) protected AbstractContainerMenu
HopperBlockEntity.createMenu
(int pId, Inventory pPlayer) LecternBlockEntity.createMenu
(int p_59562_, Inventory p_59563_, Player p_59564_) RandomizableContainerBlockEntity.createMenu
(int p_59637_, Inventory p_59638_, Player p_59639_) protected AbstractContainerMenu
ShulkerBoxBlockEntity.createMenu
(int pId, Inventory pPlayer) protected AbstractContainerMenu
SmokerBlockEntity.createMenu
(int pId, Inventory pPlayer) -
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. -
Uses of Inventory in net.neoforged.neoforge.oldtest.misc
Constructors in net.neoforged.neoforge.oldtest.misc with parameters of type InventoryModifierConstructorDescriptionprotected
TestContainer
(int windowId, Inventory playerInv, FriendlyByteBuf extraData) TestGui
(ContainerTypeTest.TestContainer container, Inventory inv, Component name) -
Uses of Inventory in net.neoforged.neoforge.oldtest.recipebook
Methods in net.neoforged.neoforge.oldtest.recipebook with parameters of type InventoryModifier and TypeMethodDescriptionRecipeBookTestMenu.handlePlacement
(boolean p_40119_, boolean p_362739_, RecipeHolder<?> rawHolder, ServerLevel serverLevel, Inventory inventory) Constructors in net.neoforged.neoforge.oldtest.recipebook with parameters of type InventoryModifierConstructorDescriptionRecipeBookTestMenu
(int id, Inventory inv, FriendlyByteBuf extraData) RecipeBookTestMenu
(int id, Inventory inv, ContainerLevelAccess access) RecipeBookTestScreen
(RecipeBookTestMenu menu, Inventory inv, Component title)