REI support for two new machines

This commit is contained in:
drcrazy 2019-08-23 14:12:31 +03:00
parent 5cf7bc9107
commit 66e8652c87
3 changed files with 10 additions and 2 deletions

View file

@ -55,7 +55,7 @@ public class ModRecipes {
public static final RebornRecipeType<RebornRecipe> SOLID_CANNING_MACHINE = RecipeManager.newRecipeType(RebornRecipe.class, new Identifier("techreborn:solid_canning_machine"));
public static final RebornRecipeType<RebornRecipe> WIRE_MILL = RecipeManager.newRecipeType(RebornRecipe.class, new Identifier("techreborn:wire_mill"));
public static RebornRecipeType byName(Identifier identifier){
return (RebornRecipeType) Registry.RECIPE_SERIALIZER.get(identifier);
public static RebornRecipeType<?> byName(Identifier identifier){
return (RebornRecipeType<?>) Registry.RECIPE_SERIALIZER.get(identifier);
}
}