This commit is contained in:
paulevsGitch 2020-10-04 14:09:24 +03:00
parent 74992a7f68
commit 62698e8bf5
24 changed files with 64 additions and 30 deletions

View file

@ -97,7 +97,7 @@ public class RecipeBuilder {
int height = shape.length;
int width = shape[0].length();
ItemStack result = new ItemStack(output, count);
Identifier id = BetterEnd.getIdentifier(name);
Identifier id = BetterEnd.makeID(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);