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 class
ComposterBlock.EmptyInventory
(package private) static class
ComposterBlock.FullInventory
(package private) static class
ComposterBlock.PartialInventory
Fields 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_COMBINER
Methods in net.minecraft.block that return IInventory Modifier and Type Method Description static IInventory
ChestBlock. 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 IInventory
LootCommand. 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 boolean
LootCommand. 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 class
ChestMinecartEntity
class
ContainerMinecartEntity
class
HopperMinecartEntity
-
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 void
AbstractHorseEntity. containerChanged(IInventory p_76316_1_)
void
HorseEntity. containerChanged(IInventory p_76316_1_)
void
LlamaEntity. 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 class
PlayerInventory
Methods in net.minecraft.entity.player with parameters of type IInventory Modifier and Type Method Description int
PlayerInventory. clearOrCountMatchingItems(java.util.function.Predicate<ItemStack> p_234564_1_, int p_234564_2_, IInventory p_234564_3_)
void
PlayerEntity. openHorseInventory(AbstractHorseEntity p_184826_1_, IInventory p_184826_2_)
void
ServerPlayerEntity. 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 interface
ISidedInventory
Classes in net.minecraft.inventory that implement IInventory Modifier and Type Class Description class
CraftingInventory
class
CraftResultInventory
class
DoubleSidedInventory
class
EnderChestInventory
class
Inventory
class
MerchantInventory
Fields in net.minecraft.inventory declared as IInventory Modifier and Type Field Description private IInventory
DoubleSidedInventory. container1
private IInventory
DoubleSidedInventory. container2
Methods in net.minecraft.inventory with parameters of type IInventory Modifier and Type Method Description static int
ItemStackHelper. clearOrCountMatchingItems(IInventory p_233534_0_, java.util.function.Predicate<ItemStack> p_233534_1_, int p_233534_2_, boolean p_233534_3_)
void
IInventoryChangedListener. containerChanged(IInventory p_76316_1_)
boolean
DoubleSidedInventory. contains(IInventory p_90010_1_)
private static void
InventoryHelper. dropContents(World p_180174_0_, double p_180174_1_, double p_180174_3_, double p_180174_5_, IInventory p_180174_7_)
static void
InventoryHelper. dropContents(World p_180176_0_, Entity p_180176_1_, IInventory p_180176_2_)
static void
InventoryHelper. 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 class
RecipeBookContainer<C extends IInventory>
Fields in net.minecraft.inventory.container declared as IInventory Modifier and Type Field Description private IInventory
BeaconContainer. beacon
private IInventory
BrewingStandContainer. brewingStand
private IInventory
AbstractFurnaceContainer. container
IInventory
CartographyContainer. container
private IInventory
ChestContainer. container
private IInventory
ShulkerBoxContainer. container
IInventory
Slot. container
IInventory
StonecutterContainer. container
private IInventory
DispenserContainer. dispenser
private IInventory
EnchantmentContainer. enchantSlots
private IInventory
HopperContainer. hopper
private IInventory
HorseInventoryContainer. horseContainer
private IInventory
LoomContainer. inputContainer
protected IInventory
AbstractRepairContainer. inputSlots
private IInventory
LecternContainer. lectern
private IInventory
LoomContainer. outputContainer
private IInventory
GrindstoneContainer. repairSlots
private IInventory
GrindstoneContainer. resultSlots
Methods in net.minecraft.inventory.container that return IInventory Modifier and Type Method Description IInventory
ChestContainer. getContainer()
Methods in net.minecraft.inventory.container with parameters of type IInventory Modifier and Type Method Description protected static void
Container. checkContainerSize(IInventory p_216962_0_, int p_216962_1_)
protected void
Container. clearContainer(PlayerEntity p_193327_1_, World p_193327_2_, IInventory p_193327_3_)
static int
Container. getRedstoneSignalFromContainer(IInventory p_94526_0_)
private void
StonecutterContainer. setupRecipeList(IInventory p_217074_1_, ItemStack p_217074_2_)
static ChestContainer
ChestContainer. sixRows(int p_216984_0_, PlayerInventory p_216984_1_, IInventory p_216984_2_)
void
AbstractRepairContainer. slotsChanged(IInventory p_75130_1_)
void
CartographyContainer. slotsChanged(IInventory p_75130_1_)
void
Container. slotsChanged(IInventory p_75130_1_)
void
EnchantmentContainer. slotsChanged(IInventory p_75130_1_)
void
GrindstoneContainer. slotsChanged(IInventory p_75130_1_)
void
LoomContainer. slotsChanged(IInventory p_75130_1_)
void
MerchantContainer. slotsChanged(IInventory p_75130_1_)
void
PlayerContainer. slotsChanged(IInventory p_75130_1_)
void
StonecutterContainer. slotsChanged(IInventory p_75130_1_)
void
WorkbenchContainer. slotsChanged(IInventory p_75130_1_)
static ChestContainer
ChestContainer. 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 boolean
AbstractFurnaceContainer. 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 interface
IRecipe<C extends IInventory>
class
ServerRecipePlacer<C extends IInventory>
class
ServerRecipePlacerFurnace<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 ItemStack
AbstractCookingRecipe. assemble(IInventory p_77572_1_)
ItemStack
SingleItemRecipe. assemble(IInventory p_77572_1_)
ItemStack
SmithingRecipe. assemble(IInventory p_77572_1_)
boolean
AbstractCookingRecipe. matches(IInventory p_77569_1_, World p_77569_2_)
boolean
SmithingRecipe. matches(IInventory p_77569_1_, World p_77569_2_)
boolean
StonecuttingRecipe. 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 void
LootTable. 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 interface
IHopper
Classes in net.minecraft.tileentity that implement IInventory Modifier and Type Class Description class
AbstractFurnaceTileEntity
class
BarrelTileEntity
class
BlastFurnaceTileEntity
class
BrewingStandTileEntity
class
ChestTileEntity
class
DispenserTileEntity
class
DropperTileEntity
class
FurnaceTileEntity
class
HopperTileEntity
class
LockableLootTileEntity
class
LockableTileEntity
class
ShulkerBoxTileEntity
class
SmokerTileEntity
class
TrappedChestTileEntity
Fields in net.minecraft.tileentity declared as IInventory Modifier and Type Field Description private IInventory
LecternTileEntity. bookAccess
Methods in net.minecraft.tileentity that return IInventory Modifier and Type Method Description private IInventory
HopperTileEntity. getAttachedContainer()
static IInventory
HopperTileEntity. getContainerAt(World p_145893_0_, double p_145893_1_, double p_145893_3_, double p_145893_5_)
static IInventory
HopperTileEntity. getContainerAt(World p_195484_0_, BlockPos p_195484_1_)
static IInventory
HopperTileEntity. getSourceContainer(IHopper p_145884_0_)
Methods in net.minecraft.tileentity with parameters of type IInventory Modifier and Type Method Description static boolean
HopperTileEntity. addItem(IInventory p_200114_0_, ItemEntity p_200114_1_)
static ItemStack
HopperTileEntity. addItem(IInventory p_174918_0_, IInventory p_174918_1_, ItemStack p_174918_2_, Direction p_174918_3_)
private static boolean
HopperTileEntity. canPlaceItemInContainer(IInventory p_174920_0_, ItemStack p_174920_1_, int p_174920_2_, Direction p_174920_3_)
private static boolean
HopperTileEntity. canTakeItemFromContainer(IInventory p_174921_0_, ItemStack p_174921_1_, int p_174921_2_, Direction p_174921_3_)
private static java.util.stream.IntStream
HopperTileEntity. getSlots(IInventory p_213972_0_, Direction p_213972_1_)
private static boolean
HopperTileEntity. isEmptyContainer(IInventory p_174917_0_, Direction p_174917_1_)
private boolean
HopperTileEntity. isFullContainer(IInventory p_174919_1_, Direction p_174919_2_)
private static ItemStack
HopperTileEntity. tryMoveInItem(IInventory p_174916_0_, IInventory p_174916_1_, ItemStack p_174916_2_, int p_174916_3_, Direction p_174916_4_)
private static boolean
HopperTileEntity. 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 boolean
ForgeHooks. onAnvilChange(RepairContainer container, ItemStack left, ItemStack right, IInventory outputSlot, java.lang.String name, int baseCost)
Deprecated.static boolean
ForgeHooks. 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 interface
IShapedRecipe<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 IInventory
PlayerEvent.ItemCraftedEvent. craftMatrix
Methods in net.minecraftforge.event.entity.player that return IInventory Modifier and Type Method Description IInventory
PlayerEvent.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 void
BasicEventHooks. 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 IInventory
SlotItemHandler. emptyInventory
-
Uses of IInventory in net.minecraftforge.items.wrapper
Classes in net.minecraftforge.items.wrapper that implement IInventory Modifier and Type Class Description class
RecipeWrapper
Fields in net.minecraftforge.items.wrapper declared as IInventory Modifier and Type Field Description private IInventory
InvWrapper. inv
Methods in net.minecraftforge.items.wrapper that return IInventory Modifier and Type Method Description IInventory
InvWrapper. getInv()
Constructors in net.minecraftforge.items.wrapper with parameters of type IInventory Constructor Description InvWrapper(IInventory inv)
-