diff --git a/src/main/java/org/cyclops/colossalchests/GeneralConfig.java b/src/main/java/org/cyclops/colossalchests/GeneralConfig.java index 3c164443..9ea6e871 100644 --- a/src/main/java/org/cyclops/colossalchests/GeneralConfig.java +++ b/src/main/java/org/cyclops/colossalchests/GeneralConfig.java @@ -29,7 +29,7 @@ public class GeneralConfig extends DummyConfig { @ConfigurableProperty(category = "general", comment = "If items should be ejected from the chests if one of the structure blocks are removed.", configLocation = ModConfig.Type.SERVER) public static boolean ejectItemsOnDestroy = false; - @ConfigurableProperty(category = "general", comment = "If the higher tier metal variants can be crafted.", configLocation = ModConfig.Type.SERVER) + @ConfigurableProperty(category = "general", comment = "If the higher tier metal variants (including diamond and obsidian) can be crafted.", configLocation = ModConfig.Type.SERVER) public static boolean metalVariants = true; @ConfigurableProperty(category = "core", comment = "Maximum buffer byte size for adaptive inventory slots fragmentation.") diff --git a/src/main/resources/data/colossalchests/recipes/chest_wall_diamond.json b/src/main/resources/data/colossalchests/recipes/chest_wall_diamond.json index 84cc3411..e67770f2 100644 --- a/src/main/resources/data/colossalchests/recipes/chest_wall_diamond.json +++ b/src/main/resources/data/colossalchests/recipes/chest_wall_diamond.json @@ -15,5 +15,10 @@ }, "result": { "item": "colossalchests:chest_wall_diamond" - } + }, + "conditions": [ + { + "type": "colossalchests:metal_variants_enabled" + } + ] } \ No newline at end of file diff --git a/src/main/resources/data/colossalchests/recipes/chest_wall_obsidian.json b/src/main/resources/data/colossalchests/recipes/chest_wall_obsidian.json index 49bf99f3..3a59364e 100644 --- a/src/main/resources/data/colossalchests/recipes/chest_wall_obsidian.json +++ b/src/main/resources/data/colossalchests/recipes/chest_wall_obsidian.json @@ -15,5 +15,10 @@ }, "result": { "item": "colossalchests:chest_wall_obsidian" - } + }, + "conditions": [ + { + "type": "colossalchests:metal_variants_enabled" + } + ] } \ No newline at end of file diff --git a/src/main/resources/data/colossalchests/recipes/colossal_chest_diamond.json b/src/main/resources/data/colossalchests/recipes/colossal_chest_diamond.json index 20fcfb0f..db521d83 100644 --- a/src/main/resources/data/colossalchests/recipes/colossal_chest_diamond.json +++ b/src/main/resources/data/colossalchests/recipes/colossal_chest_diamond.json @@ -10,5 +10,10 @@ ], "result": { "item": "colossalchests:colossal_chest_diamond" - } + }, + "conditions": [ + { + "type": "colossalchests:metal_variants_enabled" + } + ] } \ No newline at end of file diff --git a/src/main/resources/data/colossalchests/recipes/colossal_chest_obsidian.json b/src/main/resources/data/colossalchests/recipes/colossal_chest_obsidian.json index 9a87ad46..6558f123 100644 --- a/src/main/resources/data/colossalchests/recipes/colossal_chest_obsidian.json +++ b/src/main/resources/data/colossalchests/recipes/colossal_chest_obsidian.json @@ -10,5 +10,10 @@ ], "result": { "item": "colossalchests:colossal_chest_obsidian" - } + }, + "conditions": [ + { + "type": "colossalchests:metal_variants_enabled" + } + ] } \ No newline at end of file diff --git a/src/main/resources/data/colossalchests/recipes/interface_diamond.json b/src/main/resources/data/colossalchests/recipes/interface_diamond.json index 976ffd68..e265e67a 100644 --- a/src/main/resources/data/colossalchests/recipes/interface_diamond.json +++ b/src/main/resources/data/colossalchests/recipes/interface_diamond.json @@ -15,5 +15,10 @@ }, "result": { "item": "colossalchests:interface_diamond" - } + }, + "conditions": [ + { + "type": "colossalchests:metal_variants_enabled" + } + ] } \ No newline at end of file diff --git a/src/main/resources/data/colossalchests/recipes/interface_obsidian.json b/src/main/resources/data/colossalchests/recipes/interface_obsidian.json index 1cb08821..d08f4eec 100644 --- a/src/main/resources/data/colossalchests/recipes/interface_obsidian.json +++ b/src/main/resources/data/colossalchests/recipes/interface_obsidian.json @@ -15,5 +15,10 @@ }, "result": { "item": "colossalchests:interface_obsidian" - } + }, + "conditions": [ + { + "type": "colossalchests:metal_variants_enabled" + } + ] } \ No newline at end of file