Skip to content

Commit

Permalink
Remove debug recipes and add saddle recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Flatkat committed Oct 3, 2024
1 parent 64fe527 commit f97c188
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 53 deletions.
8 changes: 1 addition & 7 deletions src/main/java/dev/symphony/harmony/config/HarmonyConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,9 @@ public class HarmonyConfig extends MidnightConfig {
@Entry(category = TRANS) public static boolean exitVehicleOnDamage = true;
@Entry(category = TRANS) public static boolean vehiclesMoveThroughLeaves = true;
@Entry(category = TRANS, isSlider = true, min = 0f, max = 1f) public static float leafSpeedFactor = 0.85f;
@HarmonyConfigCondition.ResourceConfigName(config_name = "recipe/saddle") @Entry(category = TRANS) public static boolean saddleRecipe = true;

// Food
public static final String FOOD = "food";
@Entry(category = FOOD) public static int stewStackSize = 16;

// Recipe
public static final String RECIPE = "recipe";
@HarmonyConfigCondition.ResourceConfigName(config_name = "stick")
@Entry(category = RECIPE) public static boolean enableStickRecipe = false;
@HarmonyConfigCondition.ResourceConfigName(config_name = "stone_stick")
@Entry(category = RECIPE) public static boolean enableStoneStickRecipe = true;
}
23 changes: 0 additions & 23 deletions src/main/resources/data/harmony/recipe/harmony_item.json

This file was deleted.

This file was deleted.

30 changes: 30 additions & 0 deletions src/main/resources/data/harmony/recipe/saddle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"pattern": [
"LLL",
"S S",
"I I"
],
"key": {
"L": {
"item": "minecraft:leather"
},
"S": {
"item": "minecraft:string"
},
"I": {
"item": "minecraft:iron_ingot"
}
},
"result": {
"id": "minecraft:saddle",
"count": 1
},
"fabric:load_conditions": [
{
"condition": "harmony:config",
"config_name": "recipe/saddle"
}
]
}

0 comments on commit f97c188

Please sign in to comment.