@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()
IItemRegistrygetItemList in interface IItemRegistrypublic com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getFuels()
IItemRegistrygetFuels in interface IItemRegistrypublic com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getPotionIngredients()
IItemRegistrygetPotionIngredients in interface IItemRegistrypublic java.lang.String getModNameForItem(@Nullable
net.minecraft.item.Item item)
IItemRegistrygetModNameForItem in interface IItemRegistrypublic java.lang.String getModNameForModId(@Nullable
java.lang.String modId)
IItemRegistrygetModNameForModId in interface IItemRegistrypublic com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getItemListForModId(@Nullable
java.lang.String modId)
IItemRegistrygetItemListForModId in interface IItemRegistry