From 68e802928383284669657f59592bc439baad509a Mon Sep 17 00:00:00 2001 From: copygirl Date: Wed, 4 Sep 2024 20:56:19 +0200 Subject: [PATCH] Configure large ore deposits (overworld) - Disable all Vanilla ore generation - Replace them with rare, large ore veins - Veins contain some of Create's materials as well as (raw) blocks of the generated ore - Use custom ore samples for indicators (Model graciously taken from Geocluster.) --- config/adlods-common.toml | 4 +- config/adlods/Deposits/coal.cfg | 34 +++++------ config/adlods/Deposits/copper.cfg | 32 +++++----- config/adlods/Deposits/diamond.cfg | 34 ++++++----- config/adlods/Deposits/emerald.cfg | 27 ++++----- config/adlods/Deposits/gold.cfg | 32 +++++----- config/adlods/Deposits/iron.cfg | 30 +++++----- config/adlods/Deposits/lapis.cfg | 27 +++++---- config/adlods/Deposits/redstone.cfg | 30 +++++----- config/adlods/Deposits/zinc.cfg | 29 +++++---- config/adlods/VanillaOres/coal_ore.cfg | 2 +- config/adlods/VanillaOres/copper_ore.cfg | 2 +- config/adlods/VanillaOres/diamond_ore.cfg | 2 +- config/adlods/VanillaOres/emerald_ore.cfg | 2 +- config/adlods/VanillaOres/gold_ore.cfg | 2 +- config/adlods/VanillaOres/iron_ore.cfg | 2 +- config/adlods/VanillaOres/lapis_ore.cfg | 2 +- config/adlods/VanillaOres/redstone_ore.cfg | 2 +- .../kubejs/blockstates/coal_ore_sample.json | 7 +++ .../kubejs/blockstates/copper_ore_sample.json | 7 +++ .../blockstates/diamond_ore_sample.json | 7 +++ .../blockstates/emerald_ore_sample.json | 7 +++ .../kubejs/blockstates/gold_ore_sample.json | 7 +++ .../kubejs/blockstates/iron_ore_sample.json | 7 +++ .../kubejs/blockstates/lapis_ore_sample.json | 7 +++ .../blockstates/redstone_ore_sample.json | 7 +++ .../kubejs/models/block/coal_ore_sample.json | 7 +++ .../models/block/copper_ore_sample.json | 7 +++ .../models/block/diamond_ore_sample.json | 7 +++ .../models/block/emerald_ore_sample.json | 7 +++ .../kubejs/models/block/gold_ore_sample.json | 7 +++ .../kubejs/models/block/iron_ore_sample.json | 7 +++ .../kubejs/models/block/lapis_ore_sample.json | 7 +++ .../kubejs/models/block/ore_sample.json | 59 +++++++++++++++++++ .../models/block/redstone_ore_sample.json | 7 +++ .../kubejs/models/block/zinc_ore_sample.json | 7 +++ kubejs/server_scripts/ore_samples.js | 10 ++++ kubejs/startup_scripts/ore_samples.js | 29 +++++++++ 38 files changed, 371 insertions(+), 141 deletions(-) create mode 100644 kubejs/assets/kubejs/blockstates/coal_ore_sample.json create mode 100644 kubejs/assets/kubejs/blockstates/copper_ore_sample.json create mode 100644 kubejs/assets/kubejs/blockstates/diamond_ore_sample.json create mode 100644 kubejs/assets/kubejs/blockstates/emerald_ore_sample.json create mode 100644 kubejs/assets/kubejs/blockstates/gold_ore_sample.json create mode 100644 kubejs/assets/kubejs/blockstates/iron_ore_sample.json create mode 100644 kubejs/assets/kubejs/blockstates/lapis_ore_sample.json create mode 100644 kubejs/assets/kubejs/blockstates/redstone_ore_sample.json create mode 100644 kubejs/assets/kubejs/models/block/coal_ore_sample.json create mode 100644 kubejs/assets/kubejs/models/block/copper_ore_sample.json create mode 100644 kubejs/assets/kubejs/models/block/diamond_ore_sample.json create mode 100644 kubejs/assets/kubejs/models/block/emerald_ore_sample.json create mode 100644 kubejs/assets/kubejs/models/block/gold_ore_sample.json create mode 100644 kubejs/assets/kubejs/models/block/iron_ore_sample.json create mode 100644 kubejs/assets/kubejs/models/block/lapis_ore_sample.json create mode 100644 kubejs/assets/kubejs/models/block/ore_sample.json create mode 100644 kubejs/assets/kubejs/models/block/redstone_ore_sample.json create mode 100644 kubejs/assets/kubejs/models/block/zinc_ore_sample.json create mode 100644 kubejs/server_scripts/ore_samples.js create mode 100644 kubejs/startup_scripts/ore_samples.js diff --git a/config/adlods-common.toml b/config/adlods-common.toml index bd3814a..eeb6450 100644 --- a/config/adlods-common.toml +++ b/config/adlods-common.toml @@ -23,5 +23,7 @@ #To disable all generated features of the specified mod, use "modID:*" #To see available features, use the '/place feature' command # - disabledFeatures = [] + disabledFeatures = [ + "create:zinc_ore", + ] diff --git a/config/adlods/Deposits/coal.cfg b/config/adlods/Deposits/coal.cfg index ab6b6ed..716740b 100644 --- a/config/adlods/Deposits/coal.cfg +++ b/config/adlods/Deposits/coal.cfg @@ -10,7 +10,8 @@ Deposit { # Syntax: targetId -> replacementId # With weight: targetId -> replacementId, weight S:customReplacements < - #minecraft:deepslate_ore_replaceables -> deepslate_coal_ore + #minecraft:deepslate_ore_replaceables -> deepslate_coal_ore, 8 + #minecraft:deepslate_ore_replaceables -> coal_block, 1 > # List of ores and their weights for this deposit. @@ -30,14 +31,15 @@ Deposit { # means that gold and iron will be in the proportion 1 to 5. # S:ores < - coal_ore + coal_ore, 8 + coal_block, 1 > # Rarity (in chunks) of this deposit. # The higher the value, the rarer the deposit will be. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks. # [range: 0 ~ 256000, default: 816] - I:rarity=816 + I:rarity=160 # List of blocks that can be replaced with this ore. S:replaceableBlocks < @@ -86,10 +88,10 @@ Deposit { Altitude { # [range: -2147483648 ~ 2147483647, default: 80] - I:max=80 + I:max=96 # [range: -2147483648 ~ 2147483647, default: 0] - I:min=0 + I:min=48 } Miscellaneous { @@ -100,7 +102,7 @@ Deposit { # Values > 1 result in tall veins (deposits). # Values < 1 result in flat veins (deposits). # [range: 0.0 ~ 10.0, default: 1.0] - S:proportions=1.0 + S:proportions=0.5 # If enabled, each ore block will be checked against the given altitude and biome restrictions, rather than the first one. [default: false] B:strictBounds=false @@ -114,10 +116,10 @@ Deposit { Size { # [range: 1 ~ 256000, default: 1800] - I:max=1800 + I:max=2400 # [range: 1 ~ 256000, default: 900] - I:min=900 + I:min=600 } ########################################################################################################## @@ -137,19 +139,17 @@ Deposit { # minecraft:orange_tulip, 4 # S:circles < - silentgems:black_diamond_glowrose, 3 - botania:black_mystical_flower, 3 - minecraft:large_fern, 3 - silentgems:black_diamond_glowrose, 6 - botania:black_mystical_flower, 6 - minecraft:large_fern, 6 + kubejs:coal_ore_sample, 3 + kubejs:coal_ore_sample, 5 + biomesoplenty:dead_grass, 6 + kubejs:coal_ore_sample, 8 > # Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] - S:continuity=60.0 + S:continuity=30.0 # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1] - I:distortion=1 + I:distortion=3 # ID of a block for a single-block indicator or ID of a structure to bind this deposit to. [default: ] S:id= @@ -157,7 +157,7 @@ Deposit { # Percentage of the deposit full size required to create an above-ground indicator. # If the indicator is a structure - the chance of generating a deposit under it. # [range: 0.0 ~ 100.0, default: 30.0] - S:threshold=30.0 + S:threshold=50.0 } } diff --git a/config/adlods/Deposits/copper.cfg b/config/adlods/Deposits/copper.cfg index ab98600..92c28df 100644 --- a/config/adlods/Deposits/copper.cfg +++ b/config/adlods/Deposits/copper.cfg @@ -10,7 +10,9 @@ Deposit { # Syntax: targetId -> replacementId # With weight: targetId -> replacementId, weight S:customReplacements < - #minecraft:deepslate_ore_replaceables -> deepslate_copper_ore + #minecraft:deepslate_ore_replaceables -> create:veridium, 5 + #minecraft:deepslate_ore_replaceables -> deepslate_copper_ore, 5 + #minecraft:deepslate_ore_replaceables -> raw_copper_block, 1 > # List of ores and their weights for this deposit. @@ -30,14 +32,16 @@ Deposit { # means that gold and iron will be in the proportion 1 to 5. # S:ores < - copper_ore + create:veridium, 10 + copper_ore, 5 + raw_copper_block, 1 > # Rarity (in chunks) of this deposit. # The higher the value, the rarer the deposit will be. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks. # [range: 0 ~ 256000, default: 1452] - I:rarity=1452 + I:rarity=160 # List of blocks that can be replaced with this ore. S:replaceableBlocks < @@ -86,10 +90,10 @@ Deposit { Altitude { # [range: -2147483648 ~ 2147483647, default: 64] - I:max=64 + I:max=80 # [range: -2147483648 ~ 2147483647, default: -16] - I:min=-16 + I:min=32 } Miscellaneous { @@ -114,10 +118,10 @@ Deposit { Size { # [range: 1 ~ 256000, default: 1400] - I:max=1400 + I:max=2600 # [range: 1 ~ 256000, default: 700] - I:min=700 + I:min=400 } ########################################################################################################## @@ -137,16 +141,14 @@ Deposit { # minecraft:orange_tulip, 4 # S:circles < - silentgems:spinel_glowrose, 3 - botania:orange_mystical_flower, 3 - minecraft:orange_tulip, 3 - silentgems:moonstone_glowrose, 6 - botania:light_gray_mystical_flower, 6 - minecraft:lily_of_the_valley, 6 + kubejs:copper_ore_sample, 2 + kubejs:copper_ore_sample, 4 + minecraft:fern, 5 + kubejs:copper_ore_sample, 6 > # Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] - S:continuity=60.0 + S:continuity=40.0 # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1] I:distortion=1 @@ -157,7 +159,7 @@ Deposit { # Percentage of the deposit full size required to create an above-ground indicator. # If the indicator is a structure - the chance of generating a deposit under it. # [range: 0.0 ~ 100.0, default: 30.0] - S:threshold=30.0 + S:threshold=50.0 } } diff --git a/config/adlods/Deposits/diamond.cfg b/config/adlods/Deposits/diamond.cfg index e5ee018..463f66a 100644 --- a/config/adlods/Deposits/diamond.cfg +++ b/config/adlods/Deposits/diamond.cfg @@ -10,7 +10,9 @@ Deposit { # Syntax: targetId -> replacementId # With weight: targetId -> replacementId, weight S:customReplacements < - #minecraft:deepslate_ore_replaceables -> deepslate_diamond_ore + #minecraft:deepslate_ore_replaceables -> deepslate_diamond_ore, 25 + #minecraft:deepslate_ore_replaceables -> deepslate_coal_ore, 10 + #minecraft:deepslate_ore_replaceables -> deepslate_emerald_ore, 1 > # List of ores and their weights for this deposit. @@ -30,14 +32,16 @@ Deposit { # means that gold and iron will be in the proportion 1 to 5. # S:ores < - diamond_ore + diamond_ore, 25 + coal_ore, 10 + emerald_ore, 1 > # Rarity (in chunks) of this deposit. # The higher the value, the rarer the deposit will be. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks. # [range: 0 ~ 256000, default: 4200] - I:rarity=4200 + I:rarity=600 # List of blocks that can be replaced with this ore. S:replaceableBlocks < @@ -86,7 +90,7 @@ Deposit { Altitude { # [range: -2147483648 ~ 2147483647, default: 16] - I:max=16 + I:max=-48 # [range: -2147483648 ~ 2147483647, default: -64] I:min=-64 @@ -100,7 +104,7 @@ Deposit { # Values > 1 result in tall veins (deposits). # Values < 1 result in flat veins (deposits). # [range: 0.0 ~ 10.0, default: 1.0] - S:proportions=1.0 + S:proportions=0.75 # If enabled, each ore block will be checked against the given altitude and biome restrictions, rather than the first one. [default: false] B:strictBounds=false @@ -114,10 +118,10 @@ Deposit { Size { # [range: 1 ~ 256000, default: 600] - I:max=600 + I:max=120 # [range: 1 ~ 256000, default: 300] - I:min=300 + I:min=40 } ########################################################################################################## @@ -137,19 +141,17 @@ Deposit { # minecraft:orange_tulip, 4 # S:circles < - silentgems:fluorite_glowrose, 3 - botania:cyan_mystical_flower, 3 - minecraft:blue_orchid, 3 - silentgems:fluorite_glowrose, 6 - botania:cyan_mystical_flower, 6 - minecraft:blue_orchid, 6 + kubejs:diamond_ore_sample, 2 + kubejs:diamond_ore_sample, 4 + minecraft:blue_orchid, 5 + kubejs:diamond_ore_sample, 6 > # Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] - S:continuity=60.0 + S:continuity=30.0 # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1] - I:distortion=1 + I:distortion=2 # ID of a block for a single-block indicator or ID of a structure to bind this deposit to. [default: ] S:id= @@ -157,7 +159,7 @@ Deposit { # Percentage of the deposit full size required to create an above-ground indicator. # If the indicator is a structure - the chance of generating a deposit under it. # [range: 0.0 ~ 100.0, default: 30.0] - S:threshold=30.0 + S:threshold=50.0 } } diff --git a/config/adlods/Deposits/emerald.cfg b/config/adlods/Deposits/emerald.cfg index 509d8b3..c52b427 100644 --- a/config/adlods/Deposits/emerald.cfg +++ b/config/adlods/Deposits/emerald.cfg @@ -37,7 +37,7 @@ Deposit { # The higher the value, the rarer the deposit will be. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks. # [range: 0 ~ 256000, default: 4480] - I:rarity=4480 + I:rarity=340 # List of blocks that can be replaced with this ore. S:replaceableBlocks < @@ -75,6 +75,7 @@ Deposit { S:blackList < > S:whiteList < + #is_mountain > } @@ -86,7 +87,7 @@ Deposit { Altitude { # [range: -2147483648 ~ 2147483647, default: 16] - I:max=16 + I:max=96 # [range: -2147483648 ~ 2147483647, default: -16] I:min=-16 @@ -100,7 +101,7 @@ Deposit { # Values > 1 result in tall veins (deposits). # Values < 1 result in flat veins (deposits). # [range: 0.0 ~ 10.0, default: 1.0] - S:proportions=1.0 + S:proportions=0.75 # If enabled, each ore block will be checked against the given altitude and biome restrictions, rather than the first one. [default: false] B:strictBounds=false @@ -114,10 +115,10 @@ Deposit { Size { # [range: 1 ~ 256000, default: 600] - I:max=600 + I:max=160 # [range: 1 ~ 256000, default: 300] - I:min=300 + I:min=60 } ########################################################################################################## @@ -137,19 +138,17 @@ Deposit { # minecraft:orange_tulip, 4 # S:circles < - silentgems:phosphophyllite_glowrose, 3 - botania:lime_mystical_flower, 3 - minecraft:white_tulip, 3 - silentgems:phosphophyllite_glowrose, 6 - botania:lime_mystical_flower, 6 - minecraft:white_tulip, 6 + kubejs:emerald_ore_sample, 2 + kubejs:emerald_ore_sample, 4 + biomesoplenty:pink_hibiscus, 5 + kubejs:emerald_ore_sample, 6 > # Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] - S:continuity=60.0 + S:continuity=30.0 # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1] - I:distortion=1 + I:distortion=2 # ID of a block for a single-block indicator or ID of a structure to bind this deposit to. [default: ] S:id= @@ -157,7 +156,7 @@ Deposit { # Percentage of the deposit full size required to create an above-ground indicator. # If the indicator is a structure - the chance of generating a deposit under it. # [range: 0.0 ~ 100.0, default: 30.0] - S:threshold=30.0 + S:threshold=50.0 } } diff --git a/config/adlods/Deposits/gold.cfg b/config/adlods/Deposits/gold.cfg index 08fbac4..58f9641 100644 --- a/config/adlods/Deposits/gold.cfg +++ b/config/adlods/Deposits/gold.cfg @@ -10,7 +10,9 @@ Deposit { # Syntax: targetId -> replacementId # With weight: targetId -> replacementId, weight S:customReplacements < - #minecraft:deepslate_ore_replaceables -> deepslate_gold_ore + #minecraft:deepslate_ore_replaceables -> create:ochrum, 5 + #minecraft:deepslate_ore_replaceables -> deepslate_gold_ore, 5 + #minecraft:deepslate_ore_replaceables -> raw_gold_block, 1 > # List of ores and their weights for this deposit. @@ -30,14 +32,16 @@ Deposit { # means that gold and iron will be in the proportion 1 to 5. # S:ores < - gold_ore + create:ochrum, 10 + gold_ore, 5 + raw_gold_block, 1 > # Rarity (in chunks) of this deposit. # The higher the value, the rarer the deposit will be. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks. # [range: 0 ~ 256000, default: 3256] - I:rarity=3256 + I:rarity=300 # List of blocks that can be replaced with this ore. S:replaceableBlocks < @@ -89,7 +93,7 @@ Deposit { I:max=32 # [range: -2147483648 ~ 2147483647, default: 8] - I:min=8 + I:min=-32 } Miscellaneous { @@ -114,10 +118,10 @@ Deposit { Size { # [range: 1 ~ 256000, default: 1000] - I:max=1000 + I:max=1400 # [range: 1 ~ 256000, default: 500] - I:min=500 + I:min=200 } ########################################################################################################## @@ -137,19 +141,17 @@ Deposit { # minecraft:orange_tulip, 4 # S:circles < - silentgems:jasper_glowrose, 3 - botania:orange_mystical_flower, 3 - minecraft:dandelion, 3 - silentgems:opal_glowrose, 6 - botania:white_mystical_flower, 6 - minecraft:oxeye_daisy, 6 + kubejs:gold_ore_sample, 2 + kubejs:gold_ore_sample, 4 + biomesoplenty:orange_cosmos, 5 + kubejs:gold_ore_sample, 6 > # Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] - S:continuity=60.0 + S:continuity=40.0 # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1] - I:distortion=1 + I:distortion=5 # ID of a block for a single-block indicator or ID of a structure to bind this deposit to. [default: ] S:id= @@ -157,7 +159,7 @@ Deposit { # Percentage of the deposit full size required to create an above-ground indicator. # If the indicator is a structure - the chance of generating a deposit under it. # [range: 0.0 ~ 100.0, default: 30.0] - S:threshold=30.0 + S:threshold=50.0 } } diff --git a/config/adlods/Deposits/iron.cfg b/config/adlods/Deposits/iron.cfg index 5768e65..68dea1c 100644 --- a/config/adlods/Deposits/iron.cfg +++ b/config/adlods/Deposits/iron.cfg @@ -10,7 +10,9 @@ Deposit { # Syntax: targetId -> replacementId # With weight: targetId -> replacementId, weight S:customReplacements < - #minecraft:deepslate_ore_replaceables -> deepslate_iron_ore + #minecraft:deepslate_ore_replaceables -> create:crimsite, 5 + #minecraft:deepslate_ore_replaceables -> deepslate_iron_ore, 5 + #minecraft:deepslate_ore_replaceables -> raw_iron_block, 1 > # List of ores and their weights for this deposit. @@ -30,14 +32,16 @@ Deposit { # means that gold and iron will be in the proportion 1 to 5. # S:ores < - iron_ore + create:crimsite, 10 + iron_ore, 5 + raw_iron_block, 1 > # Rarity (in chunks) of this deposit. # The higher the value, the rarer the deposit will be. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks. # [range: 0 ~ 256000, default: 1020] - I:rarity=1020 + I:rarity=200 # List of blocks that can be replaced with this ore. S:replaceableBlocks < @@ -89,7 +93,7 @@ Deposit { I:max=64 # [range: -2147483648 ~ 2147483647, default: -64] - I:min=-64 + I:min=-16 } Miscellaneous { @@ -114,10 +118,10 @@ Deposit { Size { # [range: 1 ~ 256000, default: 1400] - I:max=1400 + I:max=2400 # [range: 1 ~ 256000, default: 700] - I:min=700 + I:min=400 } ########################################################################################################## @@ -137,16 +141,14 @@ Deposit { # minecraft:orange_tulip, 4 # S:circles < - silentgems:citrine_glowrose, 3 - botania:brown_mystical_flower, 3 - minecraft:orange_tulip, 3 - silentgems:onyx_glowrose, 6 - botania:gray_mystical_flower, 6 - minecraft:azure_bluet, 6 + kubejs:iron_ore_sample, 2 + kubejs:iron_ore_sample, 4 + biomesoplenty:wilted_lily, 5 + kubejs:iron_ore_sample, 6 > # Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] - S:continuity=60.0 + S:continuity=40.0 # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1] I:distortion=1 @@ -157,7 +159,7 @@ Deposit { # Percentage of the deposit full size required to create an above-ground indicator. # If the indicator is a structure - the chance of generating a deposit under it. # [range: 0.0 ~ 100.0, default: 30.0] - S:threshold=30.0 + S:threshold=50.0 } } diff --git a/config/adlods/Deposits/lapis.cfg b/config/adlods/Deposits/lapis.cfg index 3b782fd..3025faa 100644 --- a/config/adlods/Deposits/lapis.cfg +++ b/config/adlods/Deposits/lapis.cfg @@ -37,11 +37,12 @@ Deposit { # The higher the value, the rarer the deposit will be. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks. # [range: 0 ~ 256000, default: 3640] - I:rarity=3640 + I:rarity=200 # List of blocks that can be replaced with this ore. S:replaceableBlocks < #minecraft:stone_ore_replaceables + minecraft:gravel > ########################################################################################################## @@ -75,6 +76,8 @@ Deposit { S:blackList < > S:whiteList < + #forge:is_water + #forge:is_wet > } @@ -86,7 +89,7 @@ Deposit { Altitude { # [range: -2147483648 ~ 2147483647, default: 16] - I:max=16 + I:max=0 # [range: -2147483648 ~ 2147483647, default: -32] I:min=-32 @@ -100,7 +103,7 @@ Deposit { # Values > 1 result in tall veins (deposits). # Values < 1 result in flat veins (deposits). # [range: 0.0 ~ 10.0, default: 1.0] - S:proportions=1.0 + S:proportions=2.0 # If enabled, each ore block will be checked against the given altitude and biome restrictions, rather than the first one. [default: false] B:strictBounds=false @@ -114,10 +117,10 @@ Deposit { Size { # [range: 1 ~ 256000, default: 600] - I:max=600 + I:max=1000 # [range: 1 ~ 256000, default: 300] - I:min=300 + I:min=200 } ########################################################################################################## @@ -137,16 +140,14 @@ Deposit { # minecraft:orange_tulip, 4 # S:circles < - silentgems:benitoite_glowrose, 3 - botania:blue_mystical_flower, 3 - minecraft:cornflower, 3 - silentgems:benitoite_glowrose, 6 - botania:blue_mystical_flower, 6 - minecraft:cornflower, 6 + kubejs:lapis_ore_sample, 2 + kubejs:lapis_ore_sample, 4 + minecraft:tube_coral_fan, 5 + kubejs:lapis_ore_sample, 6 > # Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] - S:continuity=60.0 + S:continuity=40.0 # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1] I:distortion=1 @@ -157,7 +158,7 @@ Deposit { # Percentage of the deposit full size required to create an above-ground indicator. # If the indicator is a structure - the chance of generating a deposit under it. # [range: 0.0 ~ 100.0, default: 30.0] - S:threshold=30.0 + S:threshold=50.0 } } diff --git a/config/adlods/Deposits/redstone.cfg b/config/adlods/Deposits/redstone.cfg index 85e0f75..e4b8f0a 100644 --- a/config/adlods/Deposits/redstone.cfg +++ b/config/adlods/Deposits/redstone.cfg @@ -10,7 +10,8 @@ Deposit { # Syntax: targetId -> replacementId # With weight: targetId -> replacementId, weight S:customReplacements < - #minecraft:deepslate_ore_replaceables -> deepslate_redstone_ore + #minecraft:deepslate_ore_replaceables -> deepslate_redstone_ore, 8 + #minecraft:deepslate_ore_replaceables -> redstone_block, 1 > # List of ores and their weights for this deposit. @@ -30,14 +31,15 @@ Deposit { # means that gold and iron will be in the proportion 1 to 5. # S:ores < - redstone_ore + redstone_ore, 8 + redstone_block, 1 > # Rarity (in chunks) of this deposit. # The higher the value, the rarer the deposit will be. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks. # [range: 0 ~ 256000, default: 3080] - I:rarity=3080 + I:rarity=260 # List of blocks that can be replaced with this ore. S:replaceableBlocks < @@ -86,10 +88,10 @@ Deposit { Altitude { # [range: -2147483648 ~ 2147483647, default: 16] - I:max=16 + I:max=-16 # [range: -2147483648 ~ 2147483647, default: -32] - I:min=-32 + I:min=-48 } Miscellaneous { @@ -100,7 +102,7 @@ Deposit { # Values > 1 result in tall veins (deposits). # Values < 1 result in flat veins (deposits). # [range: 0.0 ~ 10.0, default: 1.0] - S:proportions=1.0 + S:proportions=1.5 # If enabled, each ore block will be checked against the given altitude and biome restrictions, rather than the first one. [default: false] B:strictBounds=false @@ -114,7 +116,7 @@ Deposit { Size { # [range: 1 ~ 256000, default: 600] - I:max=600 + I:max=1600 # [range: 1 ~ 256000, default: 300] I:min=300 @@ -137,16 +139,14 @@ Deposit { # minecraft:orange_tulip, 4 # S:circles < - silentgems:carnelian_glowrose, 3 - botania:red_mystical_flower, 3 - minecraft:poppy, 3 - silentgems:carnelian_glowrose, 6 - botania:red_mystical_flower, 6 - minecraft:poppy, 6 + kubejs:redstone_ore_sample, 2 + kubejs:redstone_ore_sample, 4 + biomesoplenty:rose, 5 + kubejs:redstone_ore_sample, 6 > # Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] - S:continuity=60.0 + S:continuity=40.0 # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1] I:distortion=1 @@ -157,7 +157,7 @@ Deposit { # Percentage of the deposit full size required to create an above-ground indicator. # If the indicator is a structure - the chance of generating a deposit under it. # [range: 0.0 ~ 100.0, default: 30.0] - S:threshold=30.0 + S:threshold=50.0 } } diff --git a/config/adlods/Deposits/zinc.cfg b/config/adlods/Deposits/zinc.cfg index 2fe3a53..b4e2c6a 100644 --- a/config/adlods/Deposits/zinc.cfg +++ b/config/adlods/Deposits/zinc.cfg @@ -10,6 +10,9 @@ Deposit { # Syntax: targetId -> replacementId # With weight: targetId -> replacementId, weight S:customReplacements < + #minecraft:deepslate_ore_replaceables -> create:asurine, 5 + #minecraft:deepslate_ore_replaceables -> create:deepslate_zinc_ore, 5 + #minecraft:deepslate_ore_replaceables -> create:raw_zinc_block, 1 > # List of ores and their weights for this deposit. @@ -29,14 +32,16 @@ Deposit { # means that gold and iron will be in the proportion 1 to 5. # S:ores < - #forge:ores/zinc + create:asurine, 10 + create:zinc_ore, 5 + create:raw_zinc_block, 1 > # Rarity (in chunks) of this deposit. # The higher the value, the rarer the deposit will be. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks. # [range: 0 ~ 256000, default: 1206] - I:rarity=1206 + I:rarity=200 # List of blocks that can be replaced with this ore. S:replaceableBlocks < @@ -85,7 +90,7 @@ Deposit { Altitude { # [range: -2147483648 ~ 2147483647, default: 64] - I:max=64 + I:max=48 # [range: -2147483648 ~ 2147483647, default: 16] I:min=16 @@ -113,10 +118,10 @@ Deposit { Size { # [range: 1 ~ 256000, default: 1400] - I:max=1400 + I:max=1800 # [range: 1 ~ 256000, default: 700] - I:min=700 + I:min=300 } ########################################################################################################## @@ -136,16 +141,14 @@ Deposit { # minecraft:orange_tulip, 4 # S:circles < - silentgems:euclause_glowrose, 3 - botania:light_blue_mystical_flower, 3 - minecraft:blue_orchid, 3 - silentgems:moonstone_glowrose, 6 - botania:light_gray_mystical_flower, 6 - minecraft:lily_of_the_valley, 6 + kubejs:zinc_ore_sample, 2 + kubejs:zinc_ore_sample, 4 + minecraft:oxeye_daisy, 5 + kubejs:zinc_ore_sample, 6 > # Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] - S:continuity=60.0 + S:continuity=40.0 # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1] I:distortion=1 @@ -156,7 +159,7 @@ Deposit { # Percentage of the deposit full size required to create an above-ground indicator. # If the indicator is a structure - the chance of generating a deposit under it. # [range: 0.0 ~ 100.0, default: 30.0] - S:threshold=30.0 + S:threshold=50.0 } } diff --git a/config/adlods/VanillaOres/coal_ore.cfg b/config/adlods/VanillaOres/coal_ore.cfg index 53e37f6..719b412 100644 --- a/config/adlods/VanillaOres/coal_ore.cfg +++ b/config/adlods/VanillaOres/coal_ore.cfg @@ -12,7 +12,7 @@ VanillaOre { # CUSTOM - generation according to this config, # NONE - no generation at all. # Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] - S:generation=vanilla + S:generation=none # Id is a basic unit (block or item) identifier in format. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. diff --git a/config/adlods/VanillaOres/copper_ore.cfg b/config/adlods/VanillaOres/copper_ore.cfg index d00eece..ab1244a 100644 --- a/config/adlods/VanillaOres/copper_ore.cfg +++ b/config/adlods/VanillaOres/copper_ore.cfg @@ -12,7 +12,7 @@ VanillaOre { # CUSTOM - generation according to this config, # NONE - no generation at all. # Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] - S:generation=vanilla + S:generation=none # Id is a basic unit (block or item) identifier in format. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. diff --git a/config/adlods/VanillaOres/diamond_ore.cfg b/config/adlods/VanillaOres/diamond_ore.cfg index 66c2dc4..4d0da07 100644 --- a/config/adlods/VanillaOres/diamond_ore.cfg +++ b/config/adlods/VanillaOres/diamond_ore.cfg @@ -12,7 +12,7 @@ VanillaOre { # CUSTOM - generation according to this config, # NONE - no generation at all. # Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] - S:generation=vanilla + S:generation=none # Id is a basic unit (block or item) identifier in format. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. diff --git a/config/adlods/VanillaOres/emerald_ore.cfg b/config/adlods/VanillaOres/emerald_ore.cfg index 22ab42b..5fa89ed 100644 --- a/config/adlods/VanillaOres/emerald_ore.cfg +++ b/config/adlods/VanillaOres/emerald_ore.cfg @@ -12,7 +12,7 @@ VanillaOre { # CUSTOM - generation according to this config, # NONE - no generation at all. # Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] - S:generation=vanilla + S:generation=none # Id is a basic unit (block or item) identifier in format. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. diff --git a/config/adlods/VanillaOres/gold_ore.cfg b/config/adlods/VanillaOres/gold_ore.cfg index a241a99..da2b870 100644 --- a/config/adlods/VanillaOres/gold_ore.cfg +++ b/config/adlods/VanillaOres/gold_ore.cfg @@ -12,7 +12,7 @@ VanillaOre { # CUSTOM - generation according to this config, # NONE - no generation at all. # Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] - S:generation=vanilla + S:generation=none # Id is a basic unit (block or item) identifier in format. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. diff --git a/config/adlods/VanillaOres/iron_ore.cfg b/config/adlods/VanillaOres/iron_ore.cfg index 643e7b6..89ff6ed 100644 --- a/config/adlods/VanillaOres/iron_ore.cfg +++ b/config/adlods/VanillaOres/iron_ore.cfg @@ -12,7 +12,7 @@ VanillaOre { # CUSTOM - generation according to this config, # NONE - no generation at all. # Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] - S:generation=vanilla + S:generation=none # Id is a basic unit (block or item) identifier in format. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. diff --git a/config/adlods/VanillaOres/lapis_ore.cfg b/config/adlods/VanillaOres/lapis_ore.cfg index 5f91af8..c631442 100644 --- a/config/adlods/VanillaOres/lapis_ore.cfg +++ b/config/adlods/VanillaOres/lapis_ore.cfg @@ -12,7 +12,7 @@ VanillaOre { # CUSTOM - generation according to this config, # NONE - no generation at all. # Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] - S:generation=vanilla + S:generation=none # Id is a basic unit (block or item) identifier in format. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. diff --git a/config/adlods/VanillaOres/redstone_ore.cfg b/config/adlods/VanillaOres/redstone_ore.cfg index a8a19ee..175d113 100644 --- a/config/adlods/VanillaOres/redstone_ore.cfg +++ b/config/adlods/VanillaOres/redstone_ore.cfg @@ -12,7 +12,7 @@ VanillaOre { # CUSTOM - generation according to this config, # NONE - no generation at all. # Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] - S:generation=vanilla + S:generation=none # Id is a basic unit (block or item) identifier in format. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. diff --git a/kubejs/assets/kubejs/blockstates/coal_ore_sample.json b/kubejs/assets/kubejs/blockstates/coal_ore_sample.json new file mode 100644 index 0000000..524da57 --- /dev/null +++ b/kubejs/assets/kubejs/blockstates/coal_ore_sample.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "kubejs:block/coal_ore_sample" + } + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/blockstates/copper_ore_sample.json b/kubejs/assets/kubejs/blockstates/copper_ore_sample.json new file mode 100644 index 0000000..4fc70c1 --- /dev/null +++ b/kubejs/assets/kubejs/blockstates/copper_ore_sample.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "kubejs:block/copper_ore_sample" + } + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/blockstates/diamond_ore_sample.json b/kubejs/assets/kubejs/blockstates/diamond_ore_sample.json new file mode 100644 index 0000000..faed6bf --- /dev/null +++ b/kubejs/assets/kubejs/blockstates/diamond_ore_sample.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "kubejs:block/diamond_ore_sample" + } + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/blockstates/emerald_ore_sample.json b/kubejs/assets/kubejs/blockstates/emerald_ore_sample.json new file mode 100644 index 0000000..e33e121 --- /dev/null +++ b/kubejs/assets/kubejs/blockstates/emerald_ore_sample.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "kubejs:block/emerald_ore_sample" + } + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/blockstates/gold_ore_sample.json b/kubejs/assets/kubejs/blockstates/gold_ore_sample.json new file mode 100644 index 0000000..6b12012 --- /dev/null +++ b/kubejs/assets/kubejs/blockstates/gold_ore_sample.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "kubejs:block/gold_ore_sample" + } + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/blockstates/iron_ore_sample.json b/kubejs/assets/kubejs/blockstates/iron_ore_sample.json new file mode 100644 index 0000000..7136d20 --- /dev/null +++ b/kubejs/assets/kubejs/blockstates/iron_ore_sample.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "kubejs:block/iron_ore_sample" + } + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/blockstates/lapis_ore_sample.json b/kubejs/assets/kubejs/blockstates/lapis_ore_sample.json new file mode 100644 index 0000000..a256a06 --- /dev/null +++ b/kubejs/assets/kubejs/blockstates/lapis_ore_sample.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "kubejs:block/lapis_ore_sample" + } + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/blockstates/redstone_ore_sample.json b/kubejs/assets/kubejs/blockstates/redstone_ore_sample.json new file mode 100644 index 0000000..e2377f6 --- /dev/null +++ b/kubejs/assets/kubejs/blockstates/redstone_ore_sample.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "kubejs:block/redstone_ore_sample" + } + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/models/block/coal_ore_sample.json b/kubejs/assets/kubejs/models/block/coal_ore_sample.json new file mode 100644 index 0000000..549ca05 --- /dev/null +++ b/kubejs/assets/kubejs/models/block/coal_ore_sample.json @@ -0,0 +1,7 @@ +{ + "parent": "kubejs:block/ore_sample", + "textures": { + "particle": "block/stone", + "ore": "block/coal_ore" + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/models/block/copper_ore_sample.json b/kubejs/assets/kubejs/models/block/copper_ore_sample.json new file mode 100644 index 0000000..03078e7 --- /dev/null +++ b/kubejs/assets/kubejs/models/block/copper_ore_sample.json @@ -0,0 +1,7 @@ +{ + "parent": "kubejs:block/ore_sample", + "textures": { + "particle": "block/stone", + "ore": "block/copper_ore" + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/models/block/diamond_ore_sample.json b/kubejs/assets/kubejs/models/block/diamond_ore_sample.json new file mode 100644 index 0000000..40fe130 --- /dev/null +++ b/kubejs/assets/kubejs/models/block/diamond_ore_sample.json @@ -0,0 +1,7 @@ +{ + "parent": "kubejs:block/ore_sample", + "textures": { + "particle": "block/stone", + "ore": "block/diamond_ore" + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/models/block/emerald_ore_sample.json b/kubejs/assets/kubejs/models/block/emerald_ore_sample.json new file mode 100644 index 0000000..1f27f0e --- /dev/null +++ b/kubejs/assets/kubejs/models/block/emerald_ore_sample.json @@ -0,0 +1,7 @@ +{ + "parent": "kubejs:block/ore_sample", + "textures": { + "particle": "block/stone", + "ore": "block/emerald_ore" + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/models/block/gold_ore_sample.json b/kubejs/assets/kubejs/models/block/gold_ore_sample.json new file mode 100644 index 0000000..c10ca83 --- /dev/null +++ b/kubejs/assets/kubejs/models/block/gold_ore_sample.json @@ -0,0 +1,7 @@ +{ + "parent": "kubejs:block/ore_sample", + "textures": { + "particle": "block/stone", + "ore": "block/gold_ore" + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/models/block/iron_ore_sample.json b/kubejs/assets/kubejs/models/block/iron_ore_sample.json new file mode 100644 index 0000000..3e84700 --- /dev/null +++ b/kubejs/assets/kubejs/models/block/iron_ore_sample.json @@ -0,0 +1,7 @@ +{ + "parent": "kubejs:block/ore_sample", + "textures": { + "particle": "block/stone", + "ore": "block/iron_ore" + } +} diff --git a/kubejs/assets/kubejs/models/block/lapis_ore_sample.json b/kubejs/assets/kubejs/models/block/lapis_ore_sample.json new file mode 100644 index 0000000..7c16d9d --- /dev/null +++ b/kubejs/assets/kubejs/models/block/lapis_ore_sample.json @@ -0,0 +1,7 @@ +{ + "parent": "kubejs:block/ore_sample", + "textures": { + "particle": "block/stone", + "ore": "block/lapis_ore" + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/models/block/ore_sample.json b/kubejs/assets/kubejs/models/block/ore_sample.json new file mode 100644 index 0000000..43e4a8c --- /dev/null +++ b/kubejs/assets/kubejs/models/block/ore_sample.json @@ -0,0 +1,59 @@ +{ + "elements": [ + { + "from": [4, 0, 4], + "to": [9, 3, 9], + "faces": { + "north": {"uv": [0, 0, 5, 3], "texture": "#ore"}, + "east": {"uv": [2, 6, 7, 9], "texture": "#ore"}, + "south": {"uv": [8, 13, 13, 16], "texture": "#ore"}, + "west": {"uv": [11, 1, 16, 4], "texture": "#ore"}, + "up": {"uv": [8, 4, 13, 9], "texture": "#ore"}, + "down": {"uv": [0, 11, 5, 16], "texture": "#ore"} + } + }, + { + "from": [6, 0, 7], + "to": [12, 4, 12], + "faces": { + "north": {"uv": [8, 3, 14, 7], "texture": "#ore"}, + "east": {"uv": [7, 11, 12, 15], "texture": "#ore"}, + "south": {"uv": [1, 11, 7, 15], "texture": "#ore"}, + "west": {"uv": [5, 7, 10, 11], "texture": "#ore"}, + "up": {"uv": [1, 6, 7, 11], "texture": "#ore"}, + "down": {"uv": [0, 0, 6, 5], "texture": "#ore"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [10, -45, 0], + "translation": [0, 3, 0.5], + "scale": [0.65, 0.65, 0.65] + }, + "thirdperson_lefthand": { + "rotation": [9, 45, 0], + "translation": [0, 3, 0], + "scale": [0.65, 0.65, 0.65] + }, + "firstperson_righthand": { + "translation": [0, 6.5, 0] + }, + "firstperson_lefthand": { + "translation": [0, 6.5, 0] + }, + "ground": { + "translation": [0, 2.5, 0], + "scale": [0.8, 0.8, 0.8] + }, + "gui": { + "rotation": [30, -112, 0], + "translation": [0, 6.25, 0], + "scale": [1.25, 1.25, 1.25] + }, + "fixed": { + "rotation": [-90, 0, 0], + "translation": [0, 0, -6] + } + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/models/block/redstone_ore_sample.json b/kubejs/assets/kubejs/models/block/redstone_ore_sample.json new file mode 100644 index 0000000..32e61d8 --- /dev/null +++ b/kubejs/assets/kubejs/models/block/redstone_ore_sample.json @@ -0,0 +1,7 @@ +{ + "parent": "kubejs:block/ore_sample", + "textures": { + "particle": "block/stone", + "ore": "block/redstone_ore" + } +} \ No newline at end of file diff --git a/kubejs/assets/kubejs/models/block/zinc_ore_sample.json b/kubejs/assets/kubejs/models/block/zinc_ore_sample.json new file mode 100644 index 0000000..0227df9 --- /dev/null +++ b/kubejs/assets/kubejs/models/block/zinc_ore_sample.json @@ -0,0 +1,7 @@ +{ + "parent": "kubejs:block/ore_sample", + "textures": { + "particle": "block/stone", + "ore": "create:block/zinc_ore" + } +} \ No newline at end of file diff --git a/kubejs/server_scripts/ore_samples.js b/kubejs/server_scripts/ore_samples.js new file mode 100644 index 0000000..b69ed69 --- /dev/null +++ b/kubejs/server_scripts/ore_samples.js @@ -0,0 +1,10 @@ +LootJS.modifiers((event) => { + for (var { id, drop } of Object.values(global.ore_samples)) { + if (drop == null) continue; + event.addBlockLootModifier(id) + .removeLoot(Ingredient.all) + .addLoot(drop); + } +}); + + diff --git a/kubejs/startup_scripts/ore_samples.js b/kubejs/startup_scripts/ore_samples.js new file mode 100644 index 0000000..9da4942 --- /dev/null +++ b/kubejs/startup_scripts/ore_samples.js @@ -0,0 +1,29 @@ +global.ore_samples = { + coal : { drop: "minecraft:coal" }, + copper : { drop: "minecraft:raw_copper" }, + iron : { drop: "minecraft:raw_iron" }, + gold : { drop: "minecraft:raw_gold" }, + lapis : { drop: "minecraft:lapis_lazuli", name: "Lapis Lazuli" }, + redstone : { drop: "minecraft:redstone" }, + diamond : { }, + emerald : { }, + zinc : { drop: "create:raw_zinc" }, +}; + +for (const key in global.ore_samples) { + var entry = global.ore_samples[key]; + entry.id = `kubejs:${key}_ore_sample` + entry.name = entry.name || `${key[0].toUpperCase()}${key.substring(1)}`; +} + +StartupEvents.registry("block", (event) => { + for (const { id, name } of Object.values(global.ore_samples)) + event.create(id.split(":")[1]) + .displayName(`${name} Sample`) + .stoneSoundType().lightLevel(0.3) + .hardness(0.2).resistance(2.0) + .box(4,0,4, 12,4,12).noCollision() + .waterlogged() + .tagBlock("mineable/pickaxe") + .tagBlock("kubejs:sample"); +});