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 inventory, ItemStack changedItem, int slotsFull, int slotsEmpty, int slotsOccupied) voidInventoryChangeTrigger.trigger(ServerPlayer player, Inventory inventory, ItemStack changedItem) private voidInventoryChangeTrigger.trigger(ServerPlayer player, Inventory inventory, ItemStack changedItem, int slotsFull, int slotsEmpty, int slotsOccupied) -
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 inventory, Component title) AbstractContainerScreen(T menu, Inventory inventory, Component title, int imageWidth, int imageHeight) AbstractFurnaceScreen(T menu, Inventory inventory, Component title, Component recipeFilterName, Identifier texture, Identifier litProgressSprite, Identifier burnProgressSprite, List<RecipeBookComponent.TabInfo> tabInfos) AbstractMountInventoryScreen(T menu, Inventory inventory, Component title, int inventoryColumns, LivingEntity mount) AbstractRecipeBookScreen(T menu, RecipeBookComponent<?> recipeBookComponent, Inventory inventory, Component title) AnvilScreen(AnvilMenu menu, Inventory inventory, Component title) BeaconScreen(BeaconMenu menu, Inventory inventory, Component title) BlastFurnaceScreen(BlastFurnaceMenu menu, Inventory inventory, Component title) BrewingStandScreen(BrewingStandMenu menu, Inventory inventory, Component title) CartographyTableScreen(CartographyTableMenu menu, Inventory inventory, Component title) ContainerScreen(ChestMenu menu, Inventory inventory, Component title) CrafterScreen(CrafterMenu menu, Inventory inventory, Component title) CraftingScreen(CraftingMenu menu, Inventory inventory, Component title) DispenserScreen(DispenserMenu menu, Inventory inventory, Component title) EnchantmentScreen(EnchantmentMenu menu, Inventory inventory, Component title) FurnaceScreen(FurnaceMenu menu, Inventory inventory, Component title) GrindstoneScreen(GrindstoneMenu menu, Inventory inventory, Component title) HopperScreen(HopperMenu menu, Inventory inventory, Component title) HorseInventoryScreen(HorseInventoryMenu menu, Inventory inventory, AbstractHorse horse, int inventoryColumns) ItemCombinerScreen(T menu, Inventory inventory, Component title, Identifier menuResource) LecternScreen(LecternMenu menu, Inventory inventory, Component title) LoomScreen(LoomMenu menu, Inventory inventory, Component title) MerchantScreen(MerchantMenu menu, Inventory inventory, Component title) NautilusInventoryScreen(NautilusInventoryMenu menu, Inventory inventory, AbstractNautilus nautilus, int inventoryColumns) ShulkerBoxScreen(ShulkerBoxMenu menu, Inventory inventory, Component title) SmithingScreen(SmithingMenu menu, Inventory inventory, Component title) SmokerScreen(SmokerMenu menu, Inventory inventory, Component title) StonecutterScreen(StonecutterMenu menu, Inventory inventory, 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 lookupProvider) -
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 allowDroppingItemsToClear) 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 containerId, Inventory inventory, 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 TypeMethodDescriptionvoidInventory.replaceWith(Inventory other) 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 containerId, Inventory inventory, Player player) -
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 containerId, Inventory inventory) @Nullable AbstractContainerMenuAbstractMinecartContainer.createMenu(int containerId, Inventory inventory, Player player) MinecartChest.createMenu(int containerId, Inventory inventory) MinecartHopper.createMenu(int containerId, Inventory inventory) -
Uses of Inventory in net.minecraft.world.inventory
Methods in net.minecraft.world.inventory with parameters of type InventoryModifier and TypeMethodDescriptionprivate voidMenuType.create(int windowId, Inventory playerInv, RegistryFriendlyByteBuf extraData) @Nullable AbstractContainerMenuMenuConstructor.createMenu(int containerId, Inventory inventory, Player player) static ChestMenustatic ChestMenuAbstractCraftingMenu.handlePlacement(boolean useMaxItems, boolean allowDroppingItemsToClear, RecipeHolder<?> recipe, ServerLevel level, Inventory inventory) AbstractFurnaceMenu.handlePlacement(boolean useMaxItems, boolean allowDroppingItemsToClear, RecipeHolder<?> recipe, ServerLevel level, Inventory inventory) abstract RecipeBookMenu.PostPlaceActionRecipeBookMenu.handlePlacement(boolean useMaxItems, boolean allowDroppingItemsToClear, RecipeHolder<?> recipe, ServerLevel level, Inventory inventory) 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> allowedInputs, RecipeBookType recipeBookType, int containerId, Inventory inventory) protectedAbstractFurnaceMenu(MenuType<?> menuType, RecipeType<? extends AbstractCookingRecipe> recipeType, ResourceKey<RecipePropertySet> allowedInputs, RecipeBookType recipeBookType, int containerId, Inventory inventory, Container container, ContainerData data) protectedAbstractMountInventoryMenu(int containerId, Inventory playerInventory, Container mountInventory, LivingEntity mount) AnvilMenu(int containerId, Inventory inventory, ContainerLevelAccess access) BlastFurnaceMenu(int containerId, Inventory inventory) BlastFurnaceMenu(int containerId, Inventory inventory, Container container, ContainerData data) BrewingStandMenu(int containerId, Inventory inventory) BrewingStandMenu(int containerId, Inventory inventory, Container brewingStand, ContainerData brewingStandData) CartographyTableMenu(int containerId, Inventory inventory) CartographyTableMenu(int containerId, Inventory inventory, ContainerLevelAccess access) privateChestMenu(MenuType<?> menuType, int containerId, Inventory inventory, Container container, int rows) CrafterMenu(int containerId, Inventory inventory) CrafterMenu(int containerId, Inventory inventory, CraftingContainer container, ContainerData containerData) CraftingMenu(int containerId, Inventory inventory) CraftingMenu(int containerId, Inventory inventory, ContainerLevelAccess access) DispenserMenu(int containerId, Inventory inventory) DispenserMenu(int containerId, Inventory inventory, Container dispenser) EnchantmentMenu(int containerId, Inventory inventory) EnchantmentMenu(int containerId, Inventory inventory, ContainerLevelAccess access) FurnaceMenu(int containerId, Inventory inventory) FurnaceMenu(int containerId, Inventory inventory, Container container, ContainerData data) GrindstoneMenu(int containerId, Inventory inventory) GrindstoneMenu(int containerId, Inventory inventory, ContainerLevelAccess access) HopperMenu(int containerId, Inventory inventory) HopperMenu(int containerId, Inventory inventory, Container hopper) HorseInventoryMenu(int containerId, Inventory playerInventory, Container horseInventory, AbstractHorse horse, int inventoryColumns) InventoryMenu(Inventory inventory, boolean active, Player owner) ItemCombinerMenu(@Nullable MenuType<?> menuType, int containerId, Inventory inventory, ContainerLevelAccess access, ItemCombinerMenuSlotDefinition itemInputSlots) LoomMenu(int containerId, Inventory inventory, ContainerLevelAccess access) MerchantMenu(int containerId, Inventory inventory) MerchantMenu(int containerId, Inventory inventory, Merchant merchant) NautilusInventoryMenu(int containerId, Inventory playerInventory, Container nautilusInventory, AbstractNautilus nautilus, int inventoryColumns) ShulkerBoxMenu(int containerId, Inventory inventory) ShulkerBoxMenu(int containerId, Inventory inventory, Container container) SmithingMenu(int containerId, Inventory inventory) SmithingMenu(int containerId, Inventory inventory, ContainerLevelAccess access) privateSmithingMenu(int containerId, Inventory inventory, ContainerLevelAccess access, Level level) SmokerMenu(int containerId, Inventory inventory) SmokerMenu(int containerId, Inventory inventory, Container container, ContainerData data) StonecutterMenu(int containerId, Inventory inventory) StonecutterMenu(int containerId, Inventory inventory, 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 itemStack, Player player, ShelfBlockEntity shelfBlockEntity, int hitSlot, 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 containerId, Inventory inventory) protected abstract AbstractContainerMenuBaseContainerBlockEntity.createMenu(int containerId, Inventory inventory) @Nullable AbstractContainerMenuBaseContainerBlockEntity.createMenu(int containerId, Inventory inventory, Player player) @Nullable AbstractContainerMenuBeaconBlockEntity.createMenu(int containerId, Inventory inventory, Player player) protected AbstractContainerMenuBlastFurnaceBlockEntity.createMenu(int containerId, Inventory inventory) protected AbstractContainerMenuBrewingStandBlockEntity.createMenu(int containerId, Inventory inventory) protected AbstractContainerMenuChestBlockEntity.createMenu(int containerId, Inventory inventory) protected AbstractContainerMenuCrafterBlockEntity.createMenu(int containerId, Inventory inventory) protected AbstractContainerMenuDispenserBlockEntity.createMenu(int containerId, Inventory inventory) protected AbstractContainerMenuFurnaceBlockEntity.createMenu(int containerId, Inventory inventory) protected AbstractContainerMenuHopperBlockEntity.createMenu(int containerId, Inventory inventory) LecternBlockEntity.createMenu(int containerId, Inventory inventory, Player player) @Nullable AbstractContainerMenuRandomizableContainerBlockEntity.createMenu(int containerId, Inventory inventory, Player player) protected AbstractContainerMenuShulkerBoxBlockEntity.createMenu(int containerId, Inventory inventory) protected AbstractContainerMenuSmokerBlockEntity.createMenu(int containerId, Inventory inventory) -
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