End Stone Smelter
This commit is contained in:
parent
257307d93d
commit
a542aac45b
18 changed files with 551 additions and 77 deletions
|
@ -97,8 +97,8 @@ public class RecipeBuilder {
|
|||
int height = shape.length;
|
||||
int width = shape[0].length();
|
||||
ItemStack result = new ItemStack(output, count);
|
||||
Identifier id = new Identifier(BetterEnd.MOD_ID, name);
|
||||
DefaultedList<Ingredient> materials = getMaterials(width, height);
|
||||
Identifier id = BetterEnd.getResId(name);
|
||||
DefaultedList<Ingredient> materials = this.getMaterials(width, height);
|
||||
|
||||
CraftingRecipe recipe = shaped ? new ShapedRecipe(id, group, width, height, materials, result) : new ShapelessRecipe(id, group, result, materials);
|
||||
EndRecipeManager.addRecipe(type, recipe);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue