diff --git a/build.gradle b/build.gradle index 5ec2cd7..01ed88d 100644 --- a/build.gradle +++ b/build.gradle @@ -85,7 +85,7 @@ dependencies { // If you do not need Halplibe you can comment this line out or delete this line modImplementation "com.github.Turnip-Labs:bta-halplibe:${project.halplibe_version}" - modImplementation "ModMenu:ModMenu:2.0.6" + modCompileOnly "ModMenu:ModMenu:2.0.6" implementation "org.slf4j:slf4j-api:1.8.0-beta4" implementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.16.0" diff --git a/src/main/java/useless/polymorph/PolyMorph.java b/src/main/java/useless/polymorph/PolyMorph.java index 391d8f0..243b983 100644 --- a/src/main/java/useless/polymorph/PolyMorph.java +++ b/src/main/java/useless/polymorph/PolyMorph.java @@ -28,12 +28,12 @@ public static void setRecipeOffset(EntityPlayer player, int recipeOffset){ @Override public void onRecipesReady() { // Recipes for Testing - List symbols = new ArrayList<>(); - symbols.add(new RecipeSymbol(Block.dirt.getDefaultStack())); - Registries.RECIPES.WORKBENCH.register("test1", new RecipeEntryCraftingShapeless(symbols, Item.diamond.getDefaultStack())); - Registries.RECIPES.WORKBENCH.register("test1", new RecipeEntryCraftingShapeless(symbols, Item.ingotSteel.getDefaultStack())); - Registries.RECIPES.WORKBENCH.register("test1", new RecipeEntryCraftingShapeless(symbols, Item.ingotIron.getDefaultStack())); - Registries.RECIPES.WORKBENCH.register("test1", new RecipeEntryCraftingShapeless(symbols, Item.ingotGold.getDefaultStack())); +// List symbols = new ArrayList<>(); +// symbols.add(new RecipeSymbol(Block.dirt.getDefaultStack())); +// Registries.RECIPES.WORKBENCH.register("test1", new RecipeEntryCraftingShapeless(symbols, Item.diamond.getDefaultStack())); +// Registries.RECIPES.WORKBENCH.register("test1", new RecipeEntryCraftingShapeless(symbols, Item.ingotSteel.getDefaultStack())); +// Registries.RECIPES.WORKBENCH.register("test1", new RecipeEntryCraftingShapeless(symbols, Item.ingotIron.getDefaultStack())); +// Registries.RECIPES.WORKBENCH.register("test1", new RecipeEntryCraftingShapeless(symbols, Item.ingotGold.getDefaultStack())); } @Override public void onInitialize() { diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index ba4b041..cc79e6f 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -20,9 +20,6 @@ "main": [ "useless.polymorph.PolyMorph" ], - "recipesReady" : [ - "useless.polymorph.PolyMorph" - ], "afterClientStart": [ "useless.polymorph.PolyMorphClient" ],