public class FurnaceRecipe extends java.lang.Object implements IRecipe
Modifier and Type | Class and Description |
---|---|
static class |
FurnaceRecipe.Serializer |
Constructor and Description |
---|
FurnaceRecipe(ResourceLocation p_i48715_1_,
java.lang.String p_i48715_2_,
Ingredient p_i48715_3_,
ItemStack p_i48715_4_,
float p_i48715_5_,
int p_i48715_6_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canFit(int width,
int height) |
int |
getCookingTime() |
ItemStack |
getCraftingResult(IInventory inv) |
float |
getExperience() |
java.lang.String |
getGroup() |
ResourceLocation |
getId() |
NonNullList<Ingredient> |
getIngredients() |
ItemStack |
getRecipeOutput() |
IRecipeSerializer<?> |
getSerializer() |
RecipeType<FurnaceRecipe> |
getType()
Used when sorting this recipe into it's category during load.
|
boolean |
matches(IInventory inv,
World worldIn) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRemainingItems, isDynamic
public FurnaceRecipe(ResourceLocation p_i48715_1_, java.lang.String p_i48715_2_, Ingredient p_i48715_3_, ItemStack p_i48715_4_, float p_i48715_5_, int p_i48715_6_)
public boolean matches(IInventory inv, World worldIn)
public ItemStack getCraftingResult(IInventory inv)
getCraftingResult
in interface IRecipe
public IRecipeSerializer<?> getSerializer()
getSerializer
in interface IRecipe
public NonNullList<Ingredient> getIngredients()
getIngredients
in interface IRecipe
public float getExperience()
public ItemStack getRecipeOutput()
getRecipeOutput
in interface IRecipe
public int getCookingTime()
public ResourceLocation getId()
public RecipeType<FurnaceRecipe> getType()
IForgeRecipe
getType
in interface IForgeRecipe