Skip to content

Commit

Permalink
Turn down ore generation amounts
Browse files Browse the repository at this point in the history
  • Loading branch information
legobmw99 committed Jan 7, 2025
1 parent 24a3502 commit 87eb1bd
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"placement": [
{
"type": "minecraft:count",
"count": 14
"count": 11
},
{
"type": "minecraft:in_square"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"placement": [
{
"type": "minecraft:count",
"count": 5
"count": 4
},
{
"type": "minecraft:in_square"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"placement": [
{
"type": "minecraft:count",
"count": 8
"count": 6
},
{
"type": "minecraft:in_square"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"placement": [
{
"type": "minecraft:count",
"count": 15
"count": 12
},
{
"type": "minecraft:in_square"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"placement": [
{
"type": "minecraft:count",
"count": 11
"count": 8
},
{
"type": "minecraft:in_square"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"placement": [
{
"type": "minecraft:count",
"count": 15
"count": 12
},
{
"type": "minecraft:in_square"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"placement": [
{
"type": "minecraft:count",
"count": 12
"count": 9
},
{
"type": "minecraft:in_square"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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<BiomeModifier> ADD_ALLOMANCY_ORES =
ResourceKey.create(NeoForgeRegistries.Keys.BIOME_MODIFIERS, Allomancy.rl("overworld_ores"));
Expand Down Expand Up @@ -182,7 +181,7 @@ public static void bootstrapConfigured(BootstrapContext<ConfiguredFeature<?, ?>>
List.of(OreConfiguration.target(stone, ore_block.get().defaultBlockState()),
OreConfiguration.target(deepslate, deepslate_ore_block
.get()
.defaultBlockState())), ore.size(), 0.0f)));
.defaultBlockState())), ore.size())));
}
}

Expand Down

0 comments on commit 87eb1bd

Please sign in to comment.