@Deprecated public class ItemRegistry extends java.lang.Object implements IItemRegistry
Constructor and Description |
---|
ItemRegistry(IIngredientRegistry ingredientRegistry,
ModIdUtil modIdUtil)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> |
getFuels()
Deprecated.
Returns a list of all the ItemStacks that can be used as fuel in a vanilla furnace.
|
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> |
getItemList()
Deprecated.
Returns a list of all the ItemStacks known to JEI, including their sub-items.
|
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> |
getItemListForModId(java.lang.String modId)
Deprecated.
Returns all the items registered by a specific mod.
|
java.lang.String |
getModNameForItem(net.minecraft.item.Item item)
Deprecated.
Returns a mod name for the given item.
|
java.lang.String |
getModNameForModId(java.lang.String modId)
Deprecated.
Returns a mod name for the given mod id.
|
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> |
getPotionIngredients()
Deprecated.
Returns a list of all the ItemStacks that return true to isPotionIngredient.
|
public ItemRegistry(IIngredientRegistry ingredientRegistry, ModIdUtil modIdUtil)
public com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getItemList()
IItemRegistry
getItemList
in interface IItemRegistry
public com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getFuels()
IItemRegistry
getFuels
in interface IItemRegistry
public com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getPotionIngredients()
IItemRegistry
getPotionIngredients
in interface IItemRegistry
public java.lang.String getModNameForItem(@Nullable net.minecraft.item.Item item)
IItemRegistry
getModNameForItem
in interface IItemRegistry
public java.lang.String getModNameForModId(@Nullable java.lang.String modId)
IItemRegistry
getModNameForModId
in interface IItemRegistry
public com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getItemListForModId(@Nullable java.lang.String modId)
IItemRegistry
getItemListForModId
in interface IItemRegistry