Uses of Interface
net.minecraft.inventory.IInventory
-
-
Uses of IInventory in net.minecraft.block
Classes in net.minecraft.block that implement IInventory Modifier and Type Class Description (package private) static classComposterBlock.EmptyInventory(package private) static classComposterBlock.FullInventory(package private) static classComposterBlock.PartialInventoryFields in net.minecraft.block with type parameters of type IInventory Modifier and Type Field Description private static TileEntityMerger.ICallback<ChestTileEntity,java.util.Optional<IInventory>>ChestBlock. CHEST_COMBINERMethods in net.minecraft.block that return IInventory Modifier and Type Method Description static IInventoryChestBlock. getContainer(ChestBlock p_226916_0_, BlockState p_226916_1_, World p_226916_2_, BlockPos p_226916_3_, boolean p_226916_4_) -
Uses of IInventory in net.minecraft.client.gui.screen.inventory
Constructors in net.minecraft.client.gui.screen.inventory with parameters of type IInventory Constructor Description LockedSlot(IInventory p_i47453_1_, int p_i47453_2_, int p_i47453_3_, int p_i47453_4_) -
Uses of IInventory in net.minecraft.command.impl
Methods in net.minecraft.command.impl that return IInventory Modifier and Type Method Description private static IInventoryLootCommand. getContainer(CommandSource p_218862_0_, BlockPos p_218862_1_)Methods in net.minecraft.command.impl with parameters of type IInventory Modifier and Type Method Description private static booleanLootCommand. distributeToContainer(IInventory p_218890_0_, ItemStack p_218890_1_) -
Uses of IInventory in net.minecraft.entity.item.minecart
Classes in net.minecraft.entity.item.minecart that implement IInventory Modifier and Type Class Description classChestMinecartEntityclassContainerMinecartEntityclassHopperMinecartEntity -
Uses of IInventory in net.minecraft.entity.passive.horse
Methods in net.minecraft.entity.passive.horse with parameters of type IInventory Modifier and Type Method Description voidAbstractHorseEntity. containerChanged(IInventory p_76316_1_)voidHorseEntity. containerChanged(IInventory p_76316_1_)voidLlamaEntity. containerChanged(IInventory p_76316_1_) -
Uses of IInventory in net.minecraft.entity.player
Classes in net.minecraft.entity.player that implement IInventory Modifier and Type Class Description classPlayerInventoryMethods in net.minecraft.entity.player with parameters of type IInventory Modifier and Type Method Description intPlayerInventory. clearOrCountMatchingItems(java.util.function.Predicate<ItemStack> p_234564_1_, int p_234564_2_, IInventory p_234564_3_)voidPlayerEntity. openHorseInventory(AbstractHorseEntity p_184826_1_, IInventory p_184826_2_)voidServerPlayerEntity. openHorseInventory(AbstractHorseEntity p_184826_1_, IInventory p_184826_2_) -
Uses of IInventory in net.minecraft.inventory
Subinterfaces of IInventory in net.minecraft.inventory Modifier and Type Interface Description interfaceISidedInventoryClasses in net.minecraft.inventory that implement IInventory Modifier and Type Class Description classCraftingInventoryclassCraftResultInventoryclassDoubleSidedInventoryclassEnderChestInventoryclassInventoryclassMerchantInventoryFields in net.minecraft.inventory declared as IInventory Modifier and Type Field Description private IInventoryDoubleSidedInventory. container1private IInventoryDoubleSidedInventory. container2Methods in net.minecraft.inventory with parameters of type IInventory Modifier and Type Method Description static intItemStackHelper. clearOrCountMatchingItems(IInventory p_233534_0_, java.util.function.Predicate<ItemStack> p_233534_1_, int p_233534_2_, boolean p_233534_3_)voidIInventoryChangedListener. containerChanged(IInventory p_76316_1_)booleanDoubleSidedInventory. contains(IInventory p_90010_1_)private static voidInventoryHelper. dropContents(World p_180174_0_, double p_180174_1_, double p_180174_3_, double p_180174_5_, IInventory p_180174_7_)static voidInventoryHelper. dropContents(World p_180176_0_, Entity p_180176_1_, IInventory p_180176_2_)static voidInventoryHelper. dropContents(World p_180175_0_, BlockPos p_180175_1_, IInventory p_180175_2_)Constructors in net.minecraft.inventory with parameters of type IInventory Constructor Description DoubleSidedInventory(IInventory p_i50399_1_, IInventory p_i50399_2_) -
Uses of IInventory in net.minecraft.inventory.container
Classes in net.minecraft.inventory.container with type parameters of type IInventory Modifier and Type Class Description classRecipeBookContainer<C extends IInventory>Fields in net.minecraft.inventory.container declared as IInventory Modifier and Type Field Description private IInventoryBeaconContainer. beaconprivate IInventoryBrewingStandContainer. brewingStandprivate IInventoryAbstractFurnaceContainer. containerIInventoryCartographyContainer. containerprivate IInventoryChestContainer. containerprivate IInventoryShulkerBoxContainer. containerIInventorySlot. containerIInventoryStonecutterContainer. containerprivate IInventoryDispenserContainer. dispenserprivate IInventoryEnchantmentContainer. enchantSlotsprivate IInventoryHopperContainer. hopperprivate IInventoryHorseInventoryContainer. horseContainerprivate IInventoryLoomContainer. inputContainerprotected IInventoryAbstractRepairContainer. inputSlotsprivate IInventoryLecternContainer. lecternprivate IInventoryLoomContainer. outputContainerprivate IInventoryGrindstoneContainer. repairSlotsprivate IInventoryGrindstoneContainer. resultSlotsMethods in net.minecraft.inventory.container that return IInventory Modifier and Type Method Description IInventoryChestContainer. getContainer()Methods in net.minecraft.inventory.container with parameters of type IInventory Modifier and Type Method Description protected static voidContainer. checkContainerSize(IInventory p_216962_0_, int p_216962_1_)protected voidContainer. clearContainer(PlayerEntity p_193327_1_, World p_193327_2_, IInventory p_193327_3_)static intContainer. getRedstoneSignalFromContainer(IInventory p_94526_0_)private voidStonecutterContainer. setupRecipeList(IInventory p_217074_1_, ItemStack p_217074_2_)static ChestContainerChestContainer. sixRows(int p_216984_0_, PlayerInventory p_216984_1_, IInventory p_216984_2_)voidAbstractRepairContainer. slotsChanged(IInventory p_75130_1_)voidCartographyContainer. slotsChanged(IInventory p_75130_1_)voidContainer. slotsChanged(IInventory p_75130_1_)voidEnchantmentContainer. slotsChanged(IInventory p_75130_1_)voidGrindstoneContainer. slotsChanged(IInventory p_75130_1_)voidLoomContainer. slotsChanged(IInventory p_75130_1_)voidMerchantContainer. slotsChanged(IInventory p_75130_1_)voidPlayerContainer. slotsChanged(IInventory p_75130_1_)voidStonecutterContainer. slotsChanged(IInventory p_75130_1_)voidWorkbenchContainer. slotsChanged(IInventory p_75130_1_)static ChestContainerChestContainer. threeRows(int p_216992_0_, PlayerInventory p_216992_1_, IInventory p_216992_2_)Method parameters in net.minecraft.inventory.container with type arguments of type IInventory Modifier and Type Method Description booleanAbstractFurnaceContainer. recipeMatches(IRecipe<? super IInventory> p_201769_1_)Constructors in net.minecraft.inventory.container with parameters of type IInventory Constructor Description AbstractFurnaceContainer(ContainerType<?> p_i241922_1_, IRecipeType<? extends AbstractCookingRecipe> p_i241922_2_, RecipeBookCategory p_i241922_3_, int p_i241922_4_, PlayerInventory p_i241922_5_, IInventory p_i241922_6_, IIntArray p_i241922_7_)BeaconContainer(int p_i50099_1_, IInventory p_i50099_2_)BeaconContainer(int p_i50100_1_, IInventory p_i50100_2_, IIntArray p_i50100_3_, IWorldPosCallable p_i50100_4_)BeaconSlot(IInventory p_i1801_2_, int p_i1801_3_, int p_i1801_4_, int p_i1801_5_)BlastFurnaceContainer(int p_i50098_1_, PlayerInventory p_i50098_2_, IInventory p_i50098_3_, IIntArray p_i50098_4_)BrewingStandContainer(int p_i50096_1_, PlayerInventory p_i50096_2_, IInventory p_i50096_3_, IIntArray p_i50096_4_)ChestContainer(ContainerType<?> p_i50092_1_, int p_i50092_2_, PlayerInventory p_i50092_3_, IInventory p_i50092_4_, int p_i50092_5_)CraftingResultSlot(PlayerEntity p_i45790_1_, CraftingInventory p_i45790_2_, IInventory p_i45790_3_, int p_i45790_4_, int p_i45790_5_, int p_i45790_6_)DispenserContainer(int p_i50088_1_, PlayerInventory p_i50088_2_, IInventory p_i50088_3_)FuelSlot(IInventory p_i47070_1_, int p_i47070_2_, int p_i47070_3_, int p_i47070_4_)FurnaceContainer(int p_i50083_1_, PlayerInventory p_i50083_2_, IInventory p_i50083_3_, IIntArray p_i50083_4_)FurnaceFuelSlot(AbstractFurnaceContainer p_i50084_1_, IInventory p_i50084_2_, int p_i50084_3_, int p_i50084_4_, int p_i50084_5_)FurnaceResultSlot(PlayerEntity p_i45793_1_, IInventory p_i45793_2_, int p_i45793_3_, int p_i45793_4_, int p_i45793_5_)HopperContainer(int p_i50079_1_, PlayerInventory p_i50079_2_, IInventory p_i50079_3_)HorseInventoryContainer(int p_i50077_1_, PlayerInventory p_i50077_2_, IInventory p_i50077_3_, AbstractHorseEntity p_i50077_4_)IngredientSlot(IInventory p_i47069_1_, int p_i47069_2_, int p_i47069_3_, int p_i47069_4_)LecternContainer(int p_i50076_1_, IInventory p_i50076_2_, IIntArray p_i50076_3_)PotionSlot(IInventory p_i47598_1_, int p_i47598_2_, int p_i47598_3_, int p_i47598_4_)ShulkerBoxContainer(int p_i50066_1_, PlayerInventory p_i50066_2_, IInventory p_i50066_3_)ShulkerBoxSlot(IInventory p_i47265_1_, int p_i47265_2_, int p_i47265_3_, int p_i47265_4_)Slot(IInventory p_i1824_1_, int p_i1824_2_, int p_i1824_3_, int p_i1824_4_)SmokerContainer(int p_i50062_1_, PlayerInventory p_i50062_2_, IInventory p_i50062_3_, IIntArray p_i50062_4_) -
Uses of IInventory in net.minecraft.item.crafting
Classes in net.minecraft.item.crafting with type parameters of type IInventory Modifier and Type Interface Description interfaceIRecipe<C extends IInventory>classServerRecipePlacer<C extends IInventory>classServerRecipePlacerFurnace<C extends IInventory>Methods in net.minecraft.item.crafting with type parameters of type IInventory Modifier and Type Method Description private <C extends IInventory,T extends IRecipe<C>>
java.util.Map<ResourceLocation,IRecipe<C>>RecipeManager. byType(IRecipeType<T> p_215366_1_)<C extends IInventory,T extends IRecipe<C>>
java.util.List<T>RecipeManager. getAllRecipesFor(IRecipeType<T> p_241447_1_)<C extends IInventory,T extends IRecipe<C>>
java.util.Optional<T>RecipeManager. getRecipeFor(IRecipeType<T> p_215371_1_, C p_215371_2_, World p_215371_3_)<C extends IInventory,T extends IRecipe<C>>
java.util.List<T>RecipeManager. getRecipesFor(IRecipeType<T> p_215370_1_, C p_215370_2_, World p_215370_3_)<C extends IInventory,T extends IRecipe<C>>
NonNullList<ItemStack>RecipeManager. getRemainingItemsFor(IRecipeType<T> p_215369_1_, C p_215369_2_, World p_215369_3_)default <C extends IInventory>
java.util.Optional<T>IRecipeType. tryMatch(IRecipe<C> p_222148_1_, World p_222148_2_, C p_222148_3_)Methods in net.minecraft.item.crafting with parameters of type IInventory Modifier and Type Method Description ItemStackAbstractCookingRecipe. assemble(IInventory p_77572_1_)ItemStackSingleItemRecipe. assemble(IInventory p_77572_1_)ItemStackSmithingRecipe. assemble(IInventory p_77572_1_)booleanAbstractCookingRecipe. matches(IInventory p_77569_1_, World p_77569_2_)booleanSmithingRecipe. matches(IInventory p_77569_1_, World p_77569_2_)booleanStonecuttingRecipe. matches(IInventory p_77569_1_, World p_77569_2_) -
Uses of IInventory in net.minecraft.loot
Methods in net.minecraft.loot with parameters of type IInventory Modifier and Type Method Description voidLootTable. fill(IInventory p_216118_1_, LootContext p_216118_2_)private java.util.List<java.lang.Integer>LootTable. getAvailableSlots(IInventory p_186459_1_, java.util.Random p_186459_2_) -
Uses of IInventory in net.minecraft.tileentity
Subinterfaces of IInventory in net.minecraft.tileentity Modifier and Type Interface Description interfaceIHopperClasses in net.minecraft.tileentity that implement IInventory Modifier and Type Class Description classAbstractFurnaceTileEntityclassBarrelTileEntityclassBlastFurnaceTileEntityclassBrewingStandTileEntityclassChestTileEntityclassDispenserTileEntityclassDropperTileEntityclassFurnaceTileEntityclassHopperTileEntityclassLockableLootTileEntityclassLockableTileEntityclassShulkerBoxTileEntityclassSmokerTileEntityclassTrappedChestTileEntityFields in net.minecraft.tileentity declared as IInventory Modifier and Type Field Description private IInventoryLecternTileEntity. bookAccessMethods in net.minecraft.tileentity that return IInventory Modifier and Type Method Description private IInventoryHopperTileEntity. getAttachedContainer()static IInventoryHopperTileEntity. getContainerAt(World p_145893_0_, double p_145893_1_, double p_145893_3_, double p_145893_5_)static IInventoryHopperTileEntity. getContainerAt(World p_195484_0_, BlockPos p_195484_1_)static IInventoryHopperTileEntity. getSourceContainer(IHopper p_145884_0_)Methods in net.minecraft.tileentity with parameters of type IInventory Modifier and Type Method Description static booleanHopperTileEntity. addItem(IInventory p_200114_0_, ItemEntity p_200114_1_)static ItemStackHopperTileEntity. addItem(IInventory p_174918_0_, IInventory p_174918_1_, ItemStack p_174918_2_, Direction p_174918_3_)private static booleanHopperTileEntity. canPlaceItemInContainer(IInventory p_174920_0_, ItemStack p_174920_1_, int p_174920_2_, Direction p_174920_3_)private static booleanHopperTileEntity. canTakeItemFromContainer(IInventory p_174921_0_, ItemStack p_174921_1_, int p_174921_2_, Direction p_174921_3_)private static java.util.stream.IntStreamHopperTileEntity. getSlots(IInventory p_213972_0_, Direction p_213972_1_)private static booleanHopperTileEntity. isEmptyContainer(IInventory p_174917_0_, Direction p_174917_1_)private booleanHopperTileEntity. isFullContainer(IInventory p_174919_1_, Direction p_174919_2_)private static ItemStackHopperTileEntity. tryMoveInItem(IInventory p_174916_0_, IInventory p_174916_1_, ItemStack p_174916_2_, int p_174916_3_, Direction p_174916_4_)private static booleanHopperTileEntity. tryTakeInItemFromSlot(IHopper p_174915_0_, IInventory p_174915_1_, int p_174915_2_, Direction p_174915_3_) -
Uses of IInventory in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type IInventory Modifier and Type Method Description static booleanForgeHooks. onAnvilChange(RepairContainer container, ItemStack left, ItemStack right, IInventory outputSlot, java.lang.String name, int baseCost)Deprecated.static booleanForgeHooks. onAnvilChange(RepairContainer container, ItemStack left, ItemStack right, IInventory outputSlot, java.lang.String name, int baseCost, PlayerEntity player) -
Uses of IInventory in net.minecraftforge.common.crafting
Classes in net.minecraftforge.common.crafting with type parameters of type IInventory Modifier and Type Interface Description interfaceIShapedRecipe<T extends IInventory>Used to mark a recipe that shape matters so that the recipe book and auto crafting picks the correct shape. -
Uses of IInventory in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as IInventory Modifier and Type Field Description private IInventoryPlayerEvent.ItemCraftedEvent. craftMatrixMethods in net.minecraftforge.event.entity.player that return IInventory Modifier and Type Method Description IInventoryPlayerEvent.ItemCraftedEvent. getInventory()Constructors in net.minecraftforge.event.entity.player with parameters of type IInventory Constructor Description ItemCraftedEvent(PlayerEntity player, ItemStack crafting, IInventory craftMatrix) -
Uses of IInventory in net.minecraftforge.fml.hooks
Methods in net.minecraftforge.fml.hooks with parameters of type IInventory Modifier and Type Method Description static voidBasicEventHooks. firePlayerCraftingEvent(PlayerEntity player, ItemStack crafted, IInventory craftMatrix) -
Uses of IInventory in net.minecraftforge.items
Fields in net.minecraftforge.items declared as IInventory Modifier and Type Field Description private static IInventorySlotItemHandler. emptyInventory -
Uses of IInventory in net.minecraftforge.items.wrapper
Classes in net.minecraftforge.items.wrapper that implement IInventory Modifier and Type Class Description classRecipeWrapperFields in net.minecraftforge.items.wrapper declared as IInventory Modifier and Type Field Description private IInventoryInvWrapper. invMethods in net.minecraftforge.items.wrapper that return IInventory Modifier and Type Method Description IInventoryInvWrapper. getInv()Constructors in net.minecraftforge.items.wrapper with parameters of type IInventory Constructor Description InvWrapper(IInventory inv)
-