Uses of Interface
net.minecraft.inventory.IInventory
Package
Description
-
Uses of IInventory in net.minecraft.block
Modifier and TypeClassDescription(package private) static class
(package private) static class
(package private) static class
Modifier and TypeFieldDescriptionprivate static final TileEntityMerger.ICallback<ChestTileEntity,
Optional<IInventory>> ChestBlock.CHEST_COMBINER
Modifier and TypeMethodDescriptionstatic 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
ModifierConstructorDescriptionLockedSlot
(IInventory p_i47453_1_, int p_i47453_2_, int p_i47453_3_, int p_i47453_4_) -
Uses of IInventory in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static IInventory
LootCommand.getContainer
(CommandSource p_218862_0_, BlockPos p_218862_1_) Modifier and TypeMethodDescriptionprivate static boolean
LootCommand.distributeToContainer
(IInventory p_218890_0_, ItemStack p_218890_1_) -
Uses of IInventory in net.minecraft.entity.item.minecart
Modifier and TypeClassDescriptionclass
class
class
-
Uses of IInventory in net.minecraft.entity.passive.horse
Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionint
PlayerInventory.clearOrCountMatchingItems
(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
Modifier and TypeClassDescriptionclass
class
class
class
class
class
Modifier and TypeFieldDescriptionprivate final IInventory
DoubleSidedInventory.container1
private final IInventory
DoubleSidedInventory.container2
Modifier and TypeMethodDescriptionstatic int
ItemStackHelper.clearOrCountMatchingItems
(IInventory p_233534_0_, 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_) ModifierConstructorDescriptionDoubleSidedInventory
(IInventory p_i50399_1_, IInventory p_i50399_2_) -
Uses of IInventory in net.minecraft.inventory.container
Modifier and TypeFieldDescriptionprivate final IInventory
BeaconContainer.beacon
private final IInventory
BrewingStandContainer.brewingStand
private final IInventory
AbstractFurnaceContainer.container
final IInventory
CartographyContainer.container
private final IInventory
ChestContainer.container
private final IInventory
ShulkerBoxContainer.container
final IInventory
Slot.container
final IInventory
StonecutterContainer.container
private final IInventory
DispenserContainer.dispenser
private final IInventory
EnchantmentContainer.enchantSlots
private final IInventory
HopperContainer.hopper
private final IInventory
HorseInventoryContainer.horseContainer
private final IInventory
LoomContainer.inputContainer
protected final IInventory
AbstractRepairContainer.inputSlots
private final IInventory
LecternContainer.lectern
private final IInventory
LoomContainer.outputContainer
private final IInventory
GrindstoneContainer.repairSlots
private final IInventory
GrindstoneContainer.resultSlots
Modifier and TypeMethodDescriptionprotected 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_) Modifier and TypeMethodDescriptionboolean
AbstractFurnaceContainer.recipeMatches
(IRecipe<? super IInventory> p_201769_1_) ModifierConstructorDescriptionprotected
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
Modifier and TypeInterfaceDescriptioninterface
IRecipe<C extends IInventory>
class
ServerRecipePlacer<C extends IInventory>
class
ServerRecipePlacerFurnace<C extends IInventory>
Modifier and TypeMethodDescriptionprivate <C extends IInventory,
T extends IRecipe<C>>
Map<ResourceLocation,IRecipe<C>> RecipeManager.byType
(IRecipeType<T> p_215366_1_) <C extends IInventory,
T extends IRecipe<C>>
List<T>RecipeManager.getAllRecipesFor
(IRecipeType<T> p_241447_1_) <C extends IInventory,
T extends IRecipe<C>>
Optional<T>RecipeManager.getRecipeFor
(IRecipeType<T> p_215371_1_, C p_215371_2_, World p_215371_3_) <C extends IInventory,
T extends IRecipe<C>>
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>
Optional<T>Modifier and TypeMethodDescriptionAbstractCookingRecipe.assemble
(IInventory p_77572_1_) SingleItemRecipe.assemble
(IInventory p_77572_1_) 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
Modifier and TypeMethodDescriptionvoid
LootTable.fill
(IInventory p_216118_1_, LootContext p_216118_2_) LootTable.getAvailableSlots
(IInventory p_186459_1_, Random p_186459_2_) -
Uses of IInventory in net.minecraft.tileentity
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionprivate 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_) Modifier and TypeMethodDescriptionstatic 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 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
Modifier and TypeMethodDescriptionstatic boolean
ForgeHooks.onAnvilChange
(RepairContainer container, ItemStack left, ItemStack right, IInventory outputSlot, String name, int baseCost) Deprecated.static boolean
ForgeHooks.onAnvilChange
(RepairContainer container, ItemStack left, ItemStack right, IInventory outputSlot, String name, int baseCost, PlayerEntity player) -
Uses of IInventory in net.minecraftforge.common.crafting
Modifier and TypeInterfaceDescriptioninterface
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
Modifier and TypeFieldDescriptionprivate final IInventory
PlayerEvent.ItemCraftedEvent.craftMatrix
ModifierConstructorDescriptionItemCraftedEvent
(PlayerEntity player, ItemStack crafting, IInventory craftMatrix) -
Uses of IInventory in net.minecraftforge.fml.hooks
Modifier and TypeMethodDescriptionstatic void
BasicEventHooks.firePlayerCraftingEvent
(PlayerEntity player, ItemStack crafted, IInventory craftMatrix) -
Uses of IInventory in net.minecraftforge.items
-
Uses of IInventory in net.minecraftforge.items.wrapper