public class ShapelessOreRecipe extends IForgeRegistryEntry.Impl<IRecipe> implements IRecipe
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
Modifier and Type | Field and Description |
---|---|
protected ResourceLocation |
group |
protected NonNullList<Ingredient> |
input |
protected boolean |
isSimple |
protected ItemStack |
output |
delegate
Constructor and Description |
---|
ShapelessOreRecipe(ResourceLocation group,
Block result,
java.lang.Object... recipe) |
ShapelessOreRecipe(ResourceLocation group,
Item result,
java.lang.Object... recipe) |
ShapelessOreRecipe(ResourceLocation group,
ItemStack result,
java.lang.Object... recipe) |
ShapelessOreRecipe(ResourceLocation group,
NonNullList<Ingredient> input,
ItemStack result) |
Modifier and Type | Method and Description |
---|---|
boolean |
canFit(int width,
int height) |
static ShapelessOreRecipe |
factory(JsonContext context,
JsonObject json) |
ItemStack |
getCraftingResult(InventoryCrafting var1) |
java.lang.String |
getGroup() |
NonNullList<Ingredient> |
getIngredients() |
ItemStack |
getRecipeOutput() |
boolean |
matches(InventoryCrafting inv,
World world) |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRemainingItems, isDynamic
getRegistryName, getRegistryType, setRegistryName
protected ItemStack output
protected NonNullList<Ingredient> input
protected ResourceLocation group
protected boolean isSimple
public ShapelessOreRecipe(ResourceLocation group, Block result, java.lang.Object... recipe)
public ShapelessOreRecipe(ResourceLocation group, Item result, java.lang.Object... recipe)
public ShapelessOreRecipe(ResourceLocation group, NonNullList<Ingredient> input, ItemStack result)
public ShapelessOreRecipe(ResourceLocation group, ItemStack result, java.lang.Object... recipe)
public ItemStack getRecipeOutput()
getRecipeOutput
in interface IRecipe
public ItemStack getCraftingResult(InventoryCrafting var1)
getCraftingResult
in interface IRecipe
public boolean matches(InventoryCrafting inv, World world)
public NonNullList<Ingredient> getIngredients()
getIngredients
in interface IRecipe
public static ShapelessOreRecipe factory(JsonContext context, JsonObject json)