Uses of Class
net.minecraft.world.entity.player.Inventory
Packages that use Inventory
Package
Description
-
Uses of Inventory in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion with parameters of type InventoryModifier and TypeMethodDescriptionbooleanInventoryChangeTrigger.TriggerInstance.matches(Inventory pInventory, ItemStack pStack, int pFull, int pEmpty, int pOccupied) voidInventoryChangeTrigger.trigger(ServerPlayer pPlayer, Inventory pInventory, ItemStack pStack) private voidInventoryChangeTrigger.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, Identifier pTexture, Identifier pLitProgressSprite, Identifier pBurnProgressSprite, List<RecipeBookComponent.TabInfo> pTabInfos) AbstractMountInventoryScreen(T pMenu, Inventory pPlayerInventory, Component pTitle, int pInventoryColumns, LivingEntity pMount) 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 pPlayerInventory, AbstractHorse pMount, int pInventoryColumns) ItemCombinerScreen(T pMenu, Inventory pPlayerInventory, Component pTitle, Identifier pMenuResource) LecternScreen(LecternMenu pMenu, Inventory pPlayerInventory, Component pTitle) LoomScreen(LoomMenu pMenu, Inventory pPlayerInventory, Component pTitle) MerchantScreen(MerchantMenu pMenu, Inventory pPlayerInventory, Component pTitle) NautilusInventoryScreen(NautilusInventoryMenu pMenu, Inventory pPlayerInventory, AbstractNautilus pNautilus, int pInventoryColumns) 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 TypeMethodDescriptionvoidHotbar.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 InventoryModifierConstructorDescriptionprivateServerPlaceRecipe(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 TypeMethodDescriptionvoidInventory.replaceWith(Inventory pPlayerInventory) Copy the ItemStack contents from another InventoryPlayer instance -
Uses of Inventory in net.minecraft.world.entity.vehicle.boat
Methods in net.minecraft.world.entity.vehicle.boat with parameters of type InventoryModifier and TypeMethodDescription@Nullable AbstractContainerMenuAbstractChestBoat.createMenu(int p_480389_, Inventory p_481494_, Player p_480896_) -
Uses of Inventory in net.minecraft.world.entity.vehicle.minecart
Methods in net.minecraft.world.entity.vehicle.minecart with parameters of type InventoryModifier and TypeMethodDescriptionprotected abstract AbstractContainerMenuAbstractMinecartContainer.createMenu(int pContainerId, Inventory pPlayerInventory) @Nullable AbstractContainerMenuAbstractMinecartContainer.createMenu(int pContainerId, Inventory pPlayerInventory, Player p_478152_) 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 voidMenuType.create(int pContainerId, Inventory pPlayerInventory, RegistryFriendlyByteBuf extraData) @Nullable AbstractContainerMenuMenuConstructor.createMenu(int pContainerId, Inventory pPlayerInventory, Player pPlayer) static ChestMenustatic ChestMenuAbstractCraftingMenu.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.PostPlaceActionRecipeBookMenu.handlePlacement(boolean pUseMaxItems, boolean pIsCreative, RecipeHolder<?> pRecipe, ServerLevel pLevel, Inventory pPlayerInventory) static ChestMenustatic ChestMenustatic ChestMenustatic ChestMenustatic ChestMenustatic ChestMenuConstructors in net.minecraft.world.inventory with parameters of type InventoryModifierConstructorDescriptionprotectedAbstractFurnaceMenu(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, ResourceKey<RecipePropertySet> pAcceptedInputs, RecipeBookType pRecipeBookType, int pContainerId, Inventory pInventory) protectedAbstractFurnaceMenu(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, ResourceKey<RecipePropertySet> pAcceptedInputs, RecipeBookType pRecipeBookType, int pContainerId, Inventory pInventory, Container pContainer, ContainerData pData) protectedAbstractMountInventoryMenu(int pContainerId, Inventory pPlayerInventory, Container pMountContainer, LivingEntity pMount) 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) privateChestMenu(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 pPlayerInventory, Container pMountContainer, AbstractHorse pHorse, int pInventoryColumns) InventoryMenu(Inventory pPlayerInventory, boolean pActive, Player pOwner) ItemCombinerMenu(@Nullable 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) NautilusInventoryMenu(int pContainerId, Inventory pPlayerInventory, Container pMountContainer, AbstractNautilus pMount, int pInventoryColumns) ShulkerBoxMenu(int pContainerId, Inventory pPlayerInventory) ShulkerBoxMenu(int pContainerId, Inventory pPlayerInventory, Container pContainer) SmithingMenu(int pContainerId, Inventory pPlayerInventory) SmithingMenu(int pContainerId, Inventory pPlayerInventory, ContainerLevelAccess pAccess) privateSmithingMenu(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
Methods in net.minecraft.world.level.block with parameters of type InventoryModifier and TypeMethodDescriptionprivate booleanShelfBlock.swapHotbar(Level pLevel, BlockPos pPos, Inventory pInventory) private static booleanShelfBlock.swapSingleItem(ItemStack pStack, Player pPlayer, ShelfBlockEntity pShelf, int pIndex, Inventory pInventory) -
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 AbstractContainerMenuBarrelBlockEntity.createMenu(int pId, Inventory pPlayer) protected abstract AbstractContainerMenuBaseContainerBlockEntity.createMenu(int pContainerId, Inventory pInventory) @Nullable AbstractContainerMenuBaseContainerBlockEntity.createMenu(int pContainerId, Inventory pInventory, Player p_58643_) @Nullable AbstractContainerMenuBeaconBlockEntity.createMenu(int p_58696_, Inventory p_58697_, Player p_58698_) protected AbstractContainerMenuBlastFurnaceBlockEntity.createMenu(int pId, Inventory pPlayer) protected AbstractContainerMenuBrewingStandBlockEntity.createMenu(int pId, Inventory pPlayer) protected AbstractContainerMenuChestBlockEntity.createMenu(int pId, Inventory pPlayer) protected AbstractContainerMenuCrafterBlockEntity.createMenu(int p_307441_, Inventory p_307664_) protected AbstractContainerMenuDispenserBlockEntity.createMenu(int pId, Inventory pPlayer) protected AbstractContainerMenuFurnaceBlockEntity.createMenu(int pId, Inventory pPlayer) protected AbstractContainerMenuHopperBlockEntity.createMenu(int pId, Inventory pPlayer) LecternBlockEntity.createMenu(int p_59562_, Inventory p_59563_, Player p_59564_) @Nullable AbstractContainerMenuRandomizableContainerBlockEntity.createMenu(int p_59637_, Inventory p_59638_, Player p_59639_) protected AbstractContainerMenuShulkerBoxBlockEntity.createMenu(int pId, Inventory pPlayer) protected AbstractContainerMenuSmokerBlockEntity.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 InventoryPlayerArmorInvWrapper.inventoryPlayerDeprecated, for removal: This API element is subject to removal in a future version.private final InventoryPlayerMainInvWrapper.inventoryPlayerDeprecated, for removal: This API element is subject to removal in a future version.Methods in net.neoforged.neoforge.items.wrapper that return InventoryModifier and TypeMethodDescriptionPlayerArmorInvWrapper.getInventoryPlayer()Deprecated, for removal: This API element is subject to removal in a future version.PlayerMainInvWrapper.getInventoryPlayer()Deprecated, for removal: This API element is subject to removal in a future version.Constructors in net.neoforged.neoforge.items.wrapper with parameters of type InventoryModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Inventory in net.neoforged.neoforge.network
Methods in net.neoforged.neoforge.network with parameters of type InventoryModifier and TypeMethodDescriptiondefault TIContainerFactory.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.transfer.item
Fields in net.neoforged.neoforge.transfer.item declared as InventoryMethods in net.neoforged.neoforge.transfer.item with parameters of type InventoryModifier and TypeMethodDescriptionstatic PlayerInventoryWrapperGets the inventory wrapper for a player'sInventory.Constructors in net.neoforged.neoforge.transfer.item with parameters of type Inventory