public class ItemRegistry extends java.lang.Object implements IItemRegistry
| Constructor and Description |
|---|
ItemRegistry(com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> itemList,
com.google.common.collect.ImmutableListMultimap<java.lang.String,net.minecraft.item.ItemStack> itemsByModId,
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> potionIngredients,
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> fuels,
ModList modList) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> |
getFuels()
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()
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) |
java.lang.String |
getModNameForItem(net.minecraft.item.Item item)
Returns a mod name for the given item.
|
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> |
getPotionIngredients()
Returns a list of all the ItemStacks that return true to isPotionIngredient.
|
public ItemRegistry(@Nonnull
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> itemList,
@Nonnull
com.google.common.collect.ImmutableListMultimap<java.lang.String,net.minecraft.item.ItemStack> itemsByModId,
@Nonnull
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> potionIngredients,
@Nonnull
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> fuels,
@Nonnull
ModList modList)
@Nonnull public com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getItemList()
IItemRegistrygetItemList in interface IItemRegistry@Nonnull public com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getFuels()
IItemRegistrygetFuels in interface IItemRegistry@Nonnull public com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getPotionIngredients()
IItemRegistrygetPotionIngredients in interface IItemRegistry@Nonnull
public java.lang.String getModNameForItem(@Nullable
net.minecraft.item.Item item)
IItemRegistrygetModNameForItem in interface IItemRegistry@Nonnull
public com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getItemListForModId(@Nullable
java.lang.String modId)
getItemListForModId in interface IItemRegistry