diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/ActuallyRecipes.java b/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/ActuallyRecipes.java index 2084443cd..9bb786a5b 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/ActuallyRecipes.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/ActuallyRecipes.java @@ -37,16 +37,16 @@ public class ActuallyRecipes { public static class Types { public static final DeferredRegister> RECIPE_TYPES = DeferredRegister.create(BuiltInRegistries.RECIPE_TYPE, ActuallyAdditions.MODID); - public static final Supplier> LASER = RECIPE_TYPES.register("laser", () -> new RecipeType<>() {}); - public static final Supplier> EMPOWERING = RECIPE_TYPES.register("empower", () -> new RecipeType<>() {}); - public static final Supplier> CRUSHING = RECIPE_TYPES.register("crushing", () -> new RecipeType<>() {}); - public static final Supplier> SOLID_FUEL = RECIPE_TYPES.register("solid_fuel", () -> new RecipeType<>() {}); - public static final Supplier> LIQUID_FUEL = RECIPE_TYPES.register("liquid_fuel", () -> new RecipeType<>() {}); - public static final Supplier> PRESSING = RECIPE_TYPES.register("pressing", () -> new RecipeType<>() {}); - public static final Supplier> FERMENTING = RECIPE_TYPES.register("fermenting", () -> new RecipeType<>() {}); - public static final Supplier> COLOR_CHANGE = RECIPE_TYPES.register("color_change", () -> new RecipeType<>() {}); - public static final Supplier> MINING_LENS = RECIPE_TYPES.register("mining_lens", () -> new RecipeType<>() {}); - public static final Supplier> COFFEE_INGREDIENT = RECIPE_TYPES.register("coffee_ingredient", () -> new RecipeType<>() {}); + public static final Supplier> LASER = RECIPE_TYPES.register("laser", RecipeType::simple); + public static final Supplier> EMPOWERING = RECIPE_TYPES.register("empower", RecipeType::simple); + public static final Supplier> CRUSHING = RECIPE_TYPES.register("crushing", RecipeType::simple); + public static final Supplier> SOLID_FUEL = RECIPE_TYPES.register("solid_fuel", RecipeType::simple); + public static final Supplier> LIQUID_FUEL = RECIPE_TYPES.register("liquid_fuel", RecipeType::simple); + public static final Supplier> PRESSING = RECIPE_TYPES.register("pressing", RecipeType::simple); + public static final Supplier> FERMENTING = RECIPE_TYPES.register("fermenting", RecipeType::simple); + public static final Supplier> COLOR_CHANGE = RECIPE_TYPES.register("color_change", RecipeType::simple); + public static final Supplier> MINING_LENS = RECIPE_TYPES.register("mining_lens", RecipeType::simple); + public static final Supplier> COFFEE_INGREDIENT = RECIPE_TYPES.register("coffee_ingredient", RecipeType::simple); } public static class Ingredients { public static final DeferredRegister> INGREDIENTS = DeferredRegister.create(NeoForgeRegistries.Keys.INGREDIENT_TYPES, ActuallyAdditions.MODID);