From 87eb1bde88c1ee197fedfa4230f6a291104b046f Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 7 Jan 2025 18:43:05 -0500 Subject: [PATCH] Turn down ore generation amounts --- gradle.properties | 2 +- .../worldgen/placed_feature/aluminum_ore.json | 2 +- .../worldgen/placed_feature/cadmium_ore.json | 2 +- .../worldgen/placed_feature/chromium_ore.json | 2 +- .../allomancy/worldgen/placed_feature/lead_ore.json | 2 +- .../allomancy/worldgen/placed_feature/silver_ore.json | 2 +- .../allomancy/worldgen/placed_feature/tin_ore.json | 2 +- .../allomancy/worldgen/placed_feature/zinc_ore.json | 2 +- .../allomancy/modules/materials/MaterialsSetup.java | 11 +++++------ 9 files changed, 13 insertions(+), 14 deletions(-) diff --git a/gradle.properties b/gradle.properties index 83c5789c..51daa346 100644 --- a/gradle.properties +++ b/gradle.properties @@ -35,7 +35,7 @@ mod_name=Allomancy # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=GPL v3 # The mod version. See https://semver.org/ -mod_version=5.2.0b2 +mod_version=5.2.0b3 # 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/generated_resources/data/allomancy/worldgen/placed_feature/aluminum_ore.json b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/aluminum_ore.json index 815401d4..38f4577f 100644 --- a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/aluminum_ore.json +++ b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/aluminum_ore.json @@ -3,7 +3,7 @@ "placement": [ { "type": "minecraft:count", - "count": 14 + "count": 11 }, { "type": "minecraft:in_square" diff --git a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/cadmium_ore.json b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/cadmium_ore.json index 6cf7f551..4a5b5b40 100644 --- a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/cadmium_ore.json +++ b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/cadmium_ore.json @@ -3,7 +3,7 @@ "placement": [ { "type": "minecraft:count", - "count": 5 + "count": 4 }, { "type": "minecraft:in_square" diff --git a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/chromium_ore.json b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/chromium_ore.json index e23a107a..494883a7 100644 --- a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/chromium_ore.json +++ b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/chromium_ore.json @@ -3,7 +3,7 @@ "placement": [ { "type": "minecraft:count", - "count": 8 + "count": 6 }, { "type": "minecraft:in_square" diff --git a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/lead_ore.json b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/lead_ore.json index c9010e34..9dd26a4d 100644 --- a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/lead_ore.json +++ b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/lead_ore.json @@ -3,7 +3,7 @@ "placement": [ { "type": "minecraft:count", - "count": 15 + "count": 12 }, { "type": "minecraft:in_square" diff --git a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/silver_ore.json b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/silver_ore.json index 1b50b740..292879f8 100644 --- a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/silver_ore.json +++ b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/silver_ore.json @@ -3,7 +3,7 @@ "placement": [ { "type": "minecraft:count", - "count": 11 + "count": 8 }, { "type": "minecraft:in_square" diff --git a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/tin_ore.json b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/tin_ore.json index 0c583d8a..e9790088 100644 --- a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/tin_ore.json +++ b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/tin_ore.json @@ -3,7 +3,7 @@ "placement": [ { "type": "minecraft:count", - "count": 15 + "count": 12 }, { "type": "minecraft:in_square" diff --git a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/zinc_ore.json b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/zinc_ore.json index 47c0119c..dd3fcf98 100644 --- a/src/main/generated_resources/data/allomancy/worldgen/placed_feature/zinc_ore.json +++ b/src/main/generated_resources/data/allomancy/worldgen/placed_feature/zinc_ore.json @@ -3,7 +3,7 @@ "placement": [ { "type": "minecraft:count", - "count": 12 + "count": 9 }, { "type": "minecraft:in_square" diff --git a/src/main/java/com/legobmw99/allomancy/modules/materials/MaterialsSetup.java b/src/main/java/com/legobmw99/allomancy/modules/materials/MaterialsSetup.java index e2b06885..1e609bf1 100644 --- a/src/main/java/com/legobmw99/allomancy/modules/materials/MaterialsSetup.java +++ b/src/main/java/com/legobmw99/allomancy/modules/materials/MaterialsSetup.java @@ -19,7 +19,6 @@ import net.minecraft.util.valueproviders.UniformInt; import net.minecraft.world.item.BlockItem; import net.minecraft.world.item.Item; -import net.minecraft.world.item.Items; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.Blocks; import net.minecraft.world.level.block.DropExperienceBlock; @@ -61,10 +60,10 @@ public String toString() { } public static final OreConfig[] ORE_METALS = - {new OreConfig("aluminum", 9, 14, 40, 120), new OreConfig("cadmium", 7, 5, -60, 0), - new OreConfig("chromium", 6, 8, -30, 30), new OreConfig("lead", 9, 15, -40, 30), - new OreConfig("silver", 7, 11, -40, 30), new OreConfig("tin", 11, 15, 30, 112), - new OreConfig("zinc", 8, 12, 40, 80)}; + {new OreConfig("aluminum", 9, 11, 40, 120), new OreConfig("cadmium", 7, 4, -60, 0), + new OreConfig("chromium", 6, 6, -30, 30), new OreConfig("lead", 9, 12, -40, 30), + new OreConfig("silver", 7, 8, -40, 30), new OreConfig("tin", 11, 12, 30, 112), + new OreConfig("zinc", 8, 9, 40, 80)}; private static final ResourceKey ADD_ALLOMANCY_ORES = ResourceKey.create(NeoForgeRegistries.Keys.BIOME_MODIFIERS, Allomancy.rl("overworld_ores")); @@ -182,7 +181,7 @@ public static void bootstrapConfigured(BootstrapContext> List.of(OreConfiguration.target(stone, ore_block.get().defaultBlockState()), OreConfiguration.target(deepslate, deepslate_ore_block .get() - .defaultBlockState())), ore.size(), 0.0f))); + .defaultBlockState())), ore.size()))); } }