private static class GameData.RecipeCallbacks.DummyRecipe extends java.lang.Object implements IRecipe
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>| Modifier and Type | Field and Description |
|---|---|
private ResourceLocation |
name |
private static ItemStack |
result |
| Modifier | Constructor and Description |
|---|---|
private |
DummyRecipe() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canFit(int width,
int height) |
ItemStack |
getCraftingResult(InventoryCrafting inv) |
ItemStack |
getRecipeOutput() |
ResourceLocation |
getRegistryName()
A unique identifier for this entry, if this entry is registered already it will return it's official registry name.
|
java.lang.Class<IRecipe> |
getRegistryType() |
boolean |
isDynamic() |
boolean |
matches(InventoryCrafting inv,
World worldIn) |
IRecipe |
setRegistryName(ResourceLocation name)
Sets a unique name for this Item.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGroup, getIngredients, getRemainingItemsprivate static ItemStack result
private ResourceLocation name
public IRecipe setRegistryName(ResourceLocation name)
IForgeRegistryEntrysetRegistryName in interface IForgeRegistryEntry<IRecipe>name - Unique registry namepublic ResourceLocation getRegistryName()
IForgeRegistryEntrygetRegistryName in interface IForgeRegistryEntry<IRecipe>public java.lang.Class<IRecipe> getRegistryType()
getRegistryType in interface IForgeRegistryEntry<IRecipe>public boolean matches(InventoryCrafting inv, World worldIn)
public ItemStack getCraftingResult(InventoryCrafting inv)
getCraftingResult in interface IRecipepublic ItemStack getRecipeOutput()
getRecipeOutput in interface IRecipe