diff --git a/gradle.properties b/gradle.properties index 6ba184f..09a89dd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -48,7 +48,7 @@ mod_name=Thresholds # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=GPLv3 # The mod version. See https://semver.org/ -mod_version=1201.4.030424.1750 +mod_version=1201.4.030424.1901 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/dev/zontreck/otemod/recipe/ModRecipes.java b/src/main/java/dev/zontreck/otemod/recipe/ModRecipes.java index ed3c5c2..74c2dcd 100644 --- a/src/main/java/dev/zontreck/otemod/recipe/ModRecipes.java +++ b/src/main/java/dev/zontreck/otemod/recipe/ModRecipes.java @@ -12,7 +12,7 @@ public class ModRecipes { public static final RegistryObject> COMPRESSING_SERIALIZER = SERIALIZERS.register("compressing", ()->CompressionChamberRecipe.Serializer.INSTANCE); - public static final RegistryObject> UNCRAFTING_SERIALIZER = SERIALIZERS.register("uncrafting", UncraftingRecipe.Serializer::new); + //public static final RegistryObject> UNCRAFTING_SERIALIZER = SERIALIZERS.register("uncrafting", UncraftingRecipe.Serializer::new); public static void register(IEventBus bus) { diff --git a/src/main/java/dev/zontreck/otemod/recipe/UncraftingRecipe.java b/src/main/java/dev/zontreck/otemod/recipe/UncraftingRecipe.java index 1acbd4b..f0df9f1 100644 --- a/src/main/java/dev/zontreck/otemod/recipe/UncraftingRecipe.java +++ b/src/main/java/dev/zontreck/otemod/recipe/UncraftingRecipe.java @@ -23,7 +23,9 @@ import java.util.Arrays; import java.util.Map; import java.util.Set; - +public class UncraftingRecipe { +} +/* public record UncraftingRecipe(ResourceLocation recipeID, int width, int height, Ingredient input, int count, NonNullList resultItems) implements CraftingRecipe, IShapedRecipe { @Override //This method is never used, but it has to be implemented @@ -95,6 +97,7 @@ public record UncraftingRecipe(ResourceLocation recipeID, int width, int height, * "key" and "pattern", which work just like vanilla except this is output and not input, since we're uncrafting. * Width and height get assigned automatically. */ +/* @Override public UncraftingRecipe fromJson(ResourceLocation id, JsonObject json) { JsonObject input = GsonHelper.getAsJsonObject(json, "input"); @@ -235,4 +238,4 @@ public record UncraftingRecipe(ResourceLocation recipeID, int width, int height, public static final UncraftingRecipe.Type INSTANCE = new UncraftingRecipe.Type(); public static final String ID = "uncrafting"; } -} \ No newline at end of file +}*/ \ No newline at end of file