Modifier and Type | Class and Description |
---|---|
(package private) static class |
ComposterBlock.EmptyInventory |
(package private) static class |
ComposterBlock.FullInventory |
(package private) static class |
ComposterBlock.PartialInventory |
Modifier and Type | Field and Description |
---|---|
private static TileEntityMerger.ICallback<ChestTileEntity,java.util.Optional<IInventory>> |
ChestBlock.field_220109_i |
Modifier and Type | Method and Description |
---|---|
static IInventory |
ChestBlock.func_226916_a_(ChestBlock p_226916_0_,
BlockState p_226916_1_,
World p_226916_2_,
BlockPos p_226916_3_,
boolean p_226916_4_) |
Constructor and Description |
---|
LockedSlot(IInventory inventoryIn,
int index,
int xPosition,
int yPosition) |
Modifier and Type | Method and Description |
---|---|
private static IInventory |
LootCommand.func_218862_a(CommandSource p_218862_0_,
BlockPos p_218862_1_) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
LootCommand.func_218890_a(IInventory p_218890_0_,
ItemStack p_218890_1_) |
Modifier and Type | Class and Description |
---|---|
class |
ChestMinecartEntity |
class |
ContainerMinecartEntity |
class |
HopperMinecartEntity |
Modifier and Type | Method and Description |
---|---|
void |
AbstractHorseEntity.onInventoryChanged(IInventory invBasic) |
void |
HorseEntity.onInventoryChanged(IInventory invBasic) |
void |
LlamaEntity.onInventoryChanged(IInventory invBasic) |
Modifier and Type | Class and Description |
---|---|
class |
PlayerInventory |
Modifier and Type | Method and Description |
---|---|
void |
PlayerEntity.openHorseInventory(AbstractHorseEntity horse,
IInventory inventoryIn) |
void |
ServerPlayerEntity.openHorseInventory(AbstractHorseEntity horse,
IInventory inventoryIn) |
Modifier and Type | Interface and Description |
---|---|
interface |
ISidedInventory |
Modifier and Type | Class and Description |
---|---|
class |
CraftingInventory |
class |
CraftResultInventory |
class |
DoubleSidedInventory |
class |
EnderChestInventory |
class |
Inventory |
class |
MerchantInventory |
Modifier and Type | Field and Description |
---|---|
private IInventory |
DoubleSidedInventory.lowerChest |
private IInventory |
DoubleSidedInventory.upperChest |
Modifier and Type | Method and Description |
---|---|
static void |
InventoryHelper.dropInventoryItems(World worldIn,
BlockPos pos,
IInventory inventory) |
private static void |
InventoryHelper.dropInventoryItems(World worldIn,
double x,
double y,
double z,
IInventory inventory) |
static void |
InventoryHelper.dropInventoryItems(World worldIn,
Entity entityAt,
IInventory inventory) |
boolean |
DoubleSidedInventory.isPartOfLargeChest(IInventory inventoryIn) |
void |
IInventoryChangedListener.onInventoryChanged(IInventory invBasic) |
Constructor and Description |
---|
DoubleSidedInventory(IInventory p_i50399_1_,
IInventory p_i50399_2_) |
Modifier and Type | Class and Description |
---|---|
class |
RecipeBookContainer<C extends IInventory> |
Modifier and Type | Field and Description |
---|---|
private IInventory |
DispenserContainer.dispenserInventory |
IInventory |
CartographyContainer.field_216998_c |
private IInventory |
LecternContainer.field_217018_c |
private IInventory |
LoomContainer.field_217040_j |
private IInventory |
LoomContainer.field_217041_k |
private IInventory |
AbstractFurnaceContainer.furnaceInventory |
private IInventory |
HopperContainer.hopperInventory |
private IInventory |
HorseInventoryContainer.horseInventory |
private IInventory |
GrindstoneContainer.inputInventory |
IInventory |
StonecutterContainer.inputInventory |
private IInventory |
RepairContainer.inputSlots |
private IInventory |
ShulkerBoxContainer.inventory |
IInventory |
Slot.inventory |
private IInventory |
ChestContainer.lowerChestInventory |
private IInventory |
GrindstoneContainer.outputInventory |
private IInventory |
RepairContainer.outputSlot |
private IInventory |
EnchantmentContainer.tableInventory |
private IInventory |
BeaconContainer.tileBeacon |
private IInventory |
BrewingStandContainer.tileBrewingStand |
Modifier and Type | Method and Description |
---|---|
IInventory |
ChestContainer.getLowerChestInventory() |
Modifier and Type | Method and Description |
---|---|
protected static void |
Container.assertInventorySize(IInventory inventoryIn,
int minSize) |
static int |
Container.calcRedstoneFromInventory(IInventory inv) |
protected void |
Container.clearContainer(PlayerEntity playerIn,
World worldIn,
IInventory inventoryIn) |
static ChestContainer |
ChestContainer.createGeneric9X3(int id,
PlayerInventory player,
IInventory blockEntity) |
static ChestContainer |
ChestContainer.createGeneric9X6(int id,
PlayerInventory player,
IInventory blockEntity) |
void |
MerchantContainer.onCraftMatrixChanged(IInventory inventoryIn) |
void |
CartographyContainer.onCraftMatrixChanged(IInventory inventoryIn) |
void |
RepairContainer.onCraftMatrixChanged(IInventory inventoryIn) |
void |
EnchantmentContainer.onCraftMatrixChanged(IInventory inventoryIn) |
void |
WorkbenchContainer.onCraftMatrixChanged(IInventory inventoryIn) |
void |
GrindstoneContainer.onCraftMatrixChanged(IInventory inventoryIn) |
void |
StonecutterContainer.onCraftMatrixChanged(IInventory inventoryIn) |
void |
Container.onCraftMatrixChanged(IInventory inventoryIn) |
void |
LoomContainer.onCraftMatrixChanged(IInventory inventoryIn) |
void |
PlayerContainer.onCraftMatrixChanged(IInventory inventoryIn) |
private void |
StonecutterContainer.updateAvailableRecipes(IInventory inventoryIn,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractFurnaceContainer.matches(IRecipe<? super IInventory> recipeIn) |
Constructor and Description |
---|
AbstractFurnaceContainer(ContainerType<?> containerTypeIn,
IRecipeType<? extends AbstractCookingRecipe> recipeTypeIn,
int id,
PlayerInventory playerInventoryIn,
IInventory furnaceInventoryIn,
IIntArray furnaceDataIn) |
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 inventoryIn,
int index,
int xIn,
int yIn) |
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<?> type,
int id,
PlayerInventory playerInventoryIn,
IInventory p_i50092_4_,
int rows) |
CraftingResultSlot(PlayerEntity player,
CraftingInventory craftingInventory,
IInventory inventoryIn,
int slotIndex,
int xPosition,
int yPosition) |
DispenserContainer(int p_i50088_1_,
PlayerInventory p_i50088_2_,
IInventory p_i50088_3_) |
FuelSlot(IInventory iInventoryIn,
int index,
int xPosition,
int yPosition) |
FurnaceContainer(int id,
PlayerInventory playerInventoryIn,
IInventory furnaceInventoryIn,
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 player,
IInventory inventoryIn,
int slotIndex,
int xPosition,
int yPosition) |
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 iInventoryIn,
int index,
int xPosition,
int yPosition) |
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 inventoryIn,
int slotIndexIn,
int xPosition,
int yPosition) |
Slot(IInventory inventoryIn,
int index,
int xPosition,
int yPosition) |
SmokerContainer(int p_i50062_1_,
PlayerInventory p_i50062_2_,
IInventory p_i50062_3_,
IIntArray p_i50062_4_) |
Modifier and Type | Interface and Description |
---|---|
interface |
IRecipe<C extends IInventory> |
class |
ServerRecipePlacer<C extends IInventory> |
class |
ServerRecipePlacerFurnace<C extends IInventory> |
Modifier and Type | Method and Description |
---|---|
<C extends IInventory,T extends IRecipe<C>> |
RecipeManager.getRecipe(IRecipeType<T> recipeTypeIn,
C inventoryIn,
World worldIn) |
<C extends IInventory,T extends IRecipe<C>> |
RecipeManager.getRecipeNonNull(IRecipeType<T> recipeTypeIn,
C inventoryIn,
World worldIn) |
private <C extends IInventory,T extends IRecipe<C>> |
RecipeManager.getRecipes(IRecipeType<T> recipeTypeIn) |
<C extends IInventory,T extends IRecipe<C>> |
RecipeManager.getRecipes(IRecipeType<T> recipeTypeIn,
C inventoryIn,
World worldIn) |
default <C extends IInventory> |
IRecipeType.matches(IRecipe<C> recipe,
World worldIn,
C inv) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
SingleItemRecipe.getCraftingResult(IInventory inv) |
ItemStack |
AbstractCookingRecipe.getCraftingResult(IInventory inv) |
boolean |
StonecuttingRecipe.matches(IInventory inv,
World worldIn) |
boolean |
AbstractCookingRecipe.matches(IInventory inv,
World worldIn) |
Modifier and Type | Interface and Description |
---|---|
interface |
IHopper |
Modifier and Type | Class and 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 |
Modifier and Type | Field and Description |
---|---|
private IInventory |
LecternTileEntity.inventory |
Modifier and Type | Method and Description |
---|---|
static IInventory |
HopperTileEntity.getInventoryAtPosition(World p_195484_0_,
BlockPos p_195484_1_) |
static IInventory |
HopperTileEntity.getInventoryAtPosition(World worldIn,
double x,
double y,
double z) |
private IInventory |
HopperTileEntity.getInventoryForHopperTransfer() |
static IInventory |
HopperTileEntity.getSourceInventory(IHopper hopper) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
HopperTileEntity.canExtractItemFromSlot(IInventory inventoryIn,
ItemStack stack,
int index,
Direction side) |
private static boolean |
HopperTileEntity.canInsertItemInSlot(IInventory inventoryIn,
ItemStack stack,
int index,
Direction side) |
static boolean |
HopperTileEntity.captureItem(IInventory p_200114_0_,
ItemEntity p_200114_1_) |
private static java.util.stream.IntStream |
HopperTileEntity.func_213972_a(IInventory p_213972_0_,
Direction p_213972_1_) |
private static ItemStack |
HopperTileEntity.insertStack(IInventory source,
IInventory destination,
ItemStack stack,
int index,
Direction direction) |
private static boolean |
HopperTileEntity.isInventoryEmpty(IInventory inventoryIn,
Direction side) |
private boolean |
HopperTileEntity.isInventoryFull(IInventory inventoryIn,
Direction side) |
private static boolean |
HopperTileEntity.pullItemFromSlot(IHopper hopper,
IInventory inventoryIn,
int index,
Direction direction) |
static ItemStack |
HopperTileEntity.putStackInInventoryAllSlots(IInventory source,
IInventory destination,
ItemStack stack,
Direction direction) |
Modifier and Type | Method and Description |
---|---|
void |
LootTable.fillInventory(IInventory p_216118_1_,
LootContext p_216118_2_) |
private java.util.List<java.lang.Integer> |
LootTable.getEmptySlotsRandomized(IInventory inventory,
java.util.Random rand) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooks.onAnvilChange(RepairContainer container,
ItemStack left,
ItemStack right,
IInventory outputSlot,
java.lang.String name,
int baseCost) |
Modifier and Type | Interface and 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.
|
Modifier and Type | Field and Description |
---|---|
private IInventory |
PlayerEvent.ItemCraftedEvent.craftMatrix |
Modifier and Type | Method and Description |
---|---|
IInventory |
PlayerEvent.ItemCraftedEvent.getInventory() |
Constructor and Description |
---|
ItemCraftedEvent(PlayerEntity player,
ItemStack crafting,
IInventory craftMatrix) |
Modifier and Type | Method and Description |
---|---|
static void |
BasicEventHooks.firePlayerCraftingEvent(PlayerEntity player,
ItemStack crafted,
IInventory craftMatrix) |
Modifier and Type | Field and Description |
---|---|
private static IInventory |
SlotItemHandler.emptyInventory |
Modifier and Type | Class and Description |
---|---|
class |
RecipeWrapper |
Modifier and Type | Field and Description |
---|---|
private IInventory |
InvWrapper.inv |
Modifier and Type | Method and Description |
---|---|
IInventory |
InvWrapper.getInv() |
Constructor and Description |
---|
InvWrapper(IInventory inv) |