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 TypeMethodDescriptionbooleanInventoryChangeTrigger.TriggerInstance.matches(Inventory inventory, ItemStack stack, int full, int empty, int occupied) voidInventoryChangeTrigger.trigger(ServerPlayer player, Inventory inventory, ItemStack stack) private voidInventoryChangeTrigger.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, Inventory playerInventory, Component title, Component recipeFilterName, ResourceLocation texture, ResourceLocation litProgressSprite, ResourceLocation burnProgressSprite, List<RecipeBookComponent.TabInfo> tabInfos) AbstractRecipeBookScreen(T menu, RecipeBookComponent<?> recipeBookComponent, Inventory playerInventory, Component title) 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) 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 TypeMethodDescriptionvoidHotbar.storeFrom(Inventory inventory, RegistryAccess registryAccess) -
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> menu, int gridWidth, int gridHeight, List<Slot> inputGridSlots, List<Slot> slotsToClear, Inventory inventory, RecipeHolder<R> recipe, boolean useMaxItems, boolean isCreative) Constructors in net.minecraft.recipebook with parameters of type InventoryModifierConstructorDescriptionprivateServerPlaceRecipe(ServerPlaceRecipe.CraftingMenuAccess<R> menu, Inventory inventory, boolean useMaxItems, int gridWidth, int gridHeight, List<Slot> inputGridSlots, List<Slot> slotsToClear) -
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 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 TypeMethodDescriptionAbstractChestBoat.createMenu(int p_376862_, Inventory p_376651_, Player p_376108_) protected abstract AbstractContainerMenuAbstractMinecartContainer.createMenu(int containerId, Inventory playerInventory) AbstractMinecartContainer.createMenu(int containerId, Inventory playerInventory, Player p_38253_) 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 voidMenuType.create(int containerId, Inventory playerInventory, RegistryFriendlyByteBuf extraData) MenuConstructor.createMenu(int containerId, Inventory playerInventory, Player player) 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 useMaxItems, boolean isCreative, RecipeHolder<?> recipe, ServerLevel level, Inventory playerInventory) static ChestMenustatic ChestMenustatic ChestMenustatic ChestMenustatic ChestMenustatic ChestMenuConstructors in net.minecraft.world.inventory with parameters of type InventoryModifierConstructorDescriptionprotectedAbstractFurnaceMenu(MenuType<?> menuType, RecipeType<? extends AbstractCookingRecipe> recipeType, ResourceKey<RecipePropertySet> acceptedInputs, RecipeBookType recipeBookType, int containerId, Inventory inventory) protectedAbstractFurnaceMenu(MenuType<?> menuType, RecipeType<? extends AbstractCookingRecipe> recipeType, ResourceKey<RecipePropertySet> acceptedInputs, RecipeBookType recipeBookType, int containerId, Inventory inventory, 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) privateChestMenu(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<?> menuType, int containerId, Inventory inventory, ContainerLevelAccess access, ItemCombinerMenuSlotDefinition slotDefinition) 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) privateSmithingMenu(int containerId, Inventory playerInventory, ContainerLevelAccess access, Level level) 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
Methods in net.minecraft.world.level.block with parameters of type InventoryModifier and TypeMethodDescriptionprivate booleanShelfBlock.swapHotbar(Level level, BlockPos pos, Inventory inventory) private static booleanShelfBlock.swapSingleItem(ItemStack stack, Player player, ShelfBlockEntity shelf, int index, Inventory inventory) -
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 id, Inventory player) protected abstract AbstractContainerMenuBaseContainerBlockEntity.createMenu(int containerId, Inventory inventory) BaseContainerBlockEntity.createMenu(int containerId, Inventory inventory, Player p_58643_) BeaconBlockEntity.createMenu(int p_58696_, Inventory p_58697_, Player p_58698_) protected AbstractContainerMenuBlastFurnaceBlockEntity.createMenu(int id, Inventory player) protected AbstractContainerMenuBrewingStandBlockEntity.createMenu(int id, Inventory player) protected AbstractContainerMenuChestBlockEntity.createMenu(int id, Inventory player) protected AbstractContainerMenuCrafterBlockEntity.createMenu(int p_307441_, Inventory p_307664_) protected AbstractContainerMenuDispenserBlockEntity.createMenu(int id, Inventory player) protected AbstractContainerMenuFurnaceBlockEntity.createMenu(int id, Inventory player) protected AbstractContainerMenuHopperBlockEntity.createMenu(int id, Inventory player) LecternBlockEntity.createMenu(int p_59562_, Inventory p_59563_, Player p_59564_) RandomizableContainerBlockEntity.createMenu(int p_59637_, Inventory p_59638_, Player p_59639_) protected AbstractContainerMenuShulkerBoxBlockEntity.createMenu(int id, Inventory player) protected AbstractContainerMenuSmokerBlockEntity.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 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