From 6005bee8d2bf2f8dbec651fef6a608aeb39a3361 Mon Sep 17 00:00:00 2001 From: Flanks255 <32142731+Flanks255@users.noreply.github.com> Date: Sat, 16 Mar 2024 12:37:17 -0500 Subject: [PATCH] Added Copper ores to mining lens. Added Xycraft ores to mining lens. --- gradle.properties | 2 +- .../data/MiningLensGenerator.java | 2 ++ .../recipes/mininglens/xycraft/aluminum_ore.json | 16 ++++++++++++++++ .../mininglens/xycraft/xychorium_ore_blue.json | 16 ++++++++++++++++ .../mininglens/xycraft/xychorium_ore_dark.json | 16 ++++++++++++++++ .../mininglens/xycraft/xychorium_ore_green.json | 16 ++++++++++++++++ .../mininglens/xycraft/xychorium_ore_light.json | 16 ++++++++++++++++ .../mininglens/xycraft/xychorium_ore_red.json | 16 ++++++++++++++++ 8 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/aluminum_ore.json create mode 100644 src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_blue.json create mode 100644 src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_dark.json create mode 100644 src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_green.json create mode 100644 src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_light.json create mode 100644 src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_red.json diff --git a/gradle.properties b/gradle.properties index cd210eccb..730f41fad 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false # Actually Additions -mod_version=1.2.9 +mod_version=1.2.10 # Forge game_version=1.20.4 diff --git a/src/main/java/de/ellpeck/actuallyadditions/data/MiningLensGenerator.java b/src/main/java/de/ellpeck/actuallyadditions/data/MiningLensGenerator.java index 49f9df0ee..5b6ff69bc 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/data/MiningLensGenerator.java +++ b/src/main/java/de/ellpeck/actuallyadditions/data/MiningLensGenerator.java @@ -65,6 +65,7 @@ public class MiningLensGenerator extends RecipeProvider { private void buildMiningLens(RecipeOutput consumer) { buildStoneOre(consumer, 5000, Items.COAL_ORE); + buildStoneOre(consumer, 5000, Items.COPPER_ORE); buildStoneOre(consumer, 3000, Items.IRON_ORE); buildStoneOre(consumer, 500, Items.GOLD_ORE); buildNetherOre(consumer, 500, Items.NETHER_GOLD_ORE); @@ -78,6 +79,7 @@ public class MiningLensGenerator extends RecipeProvider { buildDeepSlateOre(consumer, 2000, Items.DEEPSLATE_COAL_ORE); buildDeepSlateOre(consumer, 3000, Items.DEEPSLATE_IRON_ORE); + buildDeepSlateOre(consumer, 3000, Items.DEEPSLATE_COPPER_ORE); buildDeepSlateOre(consumer, 500, Items.DEEPSLATE_GOLD_ORE); buildDeepSlateOre(consumer, 50, Items.DEEPSLATE_DIAMOND_ORE); buildDeepSlateOre(consumer, 250, Items.DEEPSLATE_LAPIS_ORE); diff --git a/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/aluminum_ore.json b/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/aluminum_ore.json new file mode 100644 index 000000000..76596eba8 --- /dev/null +++ b/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/aluminum_ore.json @@ -0,0 +1,16 @@ +{ + "neoforge:conditions": [ + { + "type": "neoforge:mod_loaded", + "modid": "xycraft_world" + } + ], + "type": "actuallyadditions:mining_lens", + "ingredient": { + "tag": "forge:stone" + }, + "result": { + "item": "xycraft_world:aluminum_ore_stone" + }, + "weight": 250 +} \ No newline at end of file diff --git a/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_blue.json b/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_blue.json new file mode 100644 index 000000000..9653f3e86 --- /dev/null +++ b/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_blue.json @@ -0,0 +1,16 @@ +{ + "neoforge:conditions": [ + { + "type": "neoforge:mod_loaded", + "modid": "xycraft_world" + } + ], + "type": "actuallyadditions:mining_lens", + "ingredient": { + "tag": "forge:stone" + }, + "result": { + "item": "xycraft_world:xychorium_ore_stone_blue" + }, + "weight": 300 +} \ No newline at end of file diff --git a/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_dark.json b/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_dark.json new file mode 100644 index 000000000..7af013263 --- /dev/null +++ b/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_dark.json @@ -0,0 +1,16 @@ +{ + "neoforge:conditions": [ + { + "type": "neoforge:mod_loaded", + "modid": "xycraft_world" + } + ], + "type": "actuallyadditions:mining_lens", + "ingredient": { + "tag": "forge:stone" + }, + "result": { + "item": "xycraft_world:xychorium_ore_stone_dark" + }, + "weight": 300 +} \ No newline at end of file diff --git a/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_green.json b/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_green.json new file mode 100644 index 000000000..8f362bbe1 --- /dev/null +++ b/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_green.json @@ -0,0 +1,16 @@ +{ + "neoforge:conditions": [ + { + "type": "neoforge:mod_loaded", + "modid": "xycraft_world" + } + ], + "type": "actuallyadditions:mining_lens", + "ingredient": { + "tag": "forge:stone" + }, + "result": { + "item": "xycraft_world:xychorium_ore_stone_green" + }, + "weight": 300 +} \ No newline at end of file diff --git a/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_light.json b/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_light.json new file mode 100644 index 000000000..d69486130 --- /dev/null +++ b/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_light.json @@ -0,0 +1,16 @@ +{ + "neoforge:conditions": [ + { + "type": "neoforge:mod_loaded", + "modid": "xycraft_world" + } + ], + "type": "actuallyadditions:mining_lens", + "ingredient": { + "tag": "forge:stone" + }, + "result": { + "item": "xycraft_world:xychorium_ore_stone_light" + }, + "weight": 300 +} \ No newline at end of file diff --git a/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_red.json b/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_red.json new file mode 100644 index 000000000..e811f2120 --- /dev/null +++ b/src/main/resources/data/actuallyadditions/recipes/mininglens/xycraft/xychorium_ore_red.json @@ -0,0 +1,16 @@ +{ + "neoforge:conditions": [ + { + "type": "neoforge:mod_loaded", + "modid": "xycraft_world" + } + ], + "type": "actuallyadditions:mining_lens", + "ingredient": { + "tag": "forge:stone" + }, + "result": { + "item": "xycraft_world:xychorium_ore_stone_red" + }, + "weight": 300 +} \ No newline at end of file