REI integration

This commit is contained in:
Aleksey 2020-10-02 15:12:53 +03:00
parent 74c6c14b2a
commit e0cf41db63
24 changed files with 272 additions and 38 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.getResId(name);
Identifier id = BetterEnd.getIdentifier(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);