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 p_194133_1_,
int p_194133_2_) |
static ShapelessOreRecipe |
factory(JsonContext context,
com.google.gson.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
@Nonnull 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, @Nonnull ItemStack result)
public ShapelessOreRecipe(ResourceLocation group, @Nonnull ItemStack result, java.lang.Object... recipe)
@Nonnull public ItemStack getRecipeOutput()
getRecipeOutput
in interface IRecipe
@Nonnull public ItemStack getCraftingResult(@Nonnull InventoryCrafting var1)
getCraftingResult
in interface IRecipe
public boolean matches(@Nonnull InventoryCrafting inv, @Nonnull World world)
@Nonnull public NonNullList<Ingredient> getIngredients()
getIngredients
in interface IRecipe
public boolean canFit(int p_194133_1_, int p_194133_2_)
public static ShapelessOreRecipe factory(JsonContext context, com.google.gson.JsonObject json)