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.)
main
copygirl 2 months ago
parent e07b72387b
commit 68e8029283
  1. 4
      config/adlods-common.toml
  2. 34
      config/adlods/Deposits/coal.cfg
  3. 32
      config/adlods/Deposits/copper.cfg
  4. 34
      config/adlods/Deposits/diamond.cfg
  5. 27
      config/adlods/Deposits/emerald.cfg
  6. 32
      config/adlods/Deposits/gold.cfg
  7. 30
      config/adlods/Deposits/iron.cfg
  8. 27
      config/adlods/Deposits/lapis.cfg
  9. 30
      config/adlods/Deposits/redstone.cfg
  10. 29
      config/adlods/Deposits/zinc.cfg
  11. 2
      config/adlods/VanillaOres/coal_ore.cfg
  12. 2
      config/adlods/VanillaOres/copper_ore.cfg
  13. 2
      config/adlods/VanillaOres/diamond_ore.cfg
  14. 2
      config/adlods/VanillaOres/emerald_ore.cfg
  15. 2
      config/adlods/VanillaOres/gold_ore.cfg
  16. 2
      config/adlods/VanillaOres/iron_ore.cfg
  17. 2
      config/adlods/VanillaOres/lapis_ore.cfg
  18. 2
      config/adlods/VanillaOres/redstone_ore.cfg
  19. 7
      kubejs/assets/kubejs/blockstates/coal_ore_sample.json
  20. 7
      kubejs/assets/kubejs/blockstates/copper_ore_sample.json
  21. 7
      kubejs/assets/kubejs/blockstates/diamond_ore_sample.json
  22. 7
      kubejs/assets/kubejs/blockstates/emerald_ore_sample.json
  23. 7
      kubejs/assets/kubejs/blockstates/gold_ore_sample.json
  24. 7
      kubejs/assets/kubejs/blockstates/iron_ore_sample.json
  25. 7
      kubejs/assets/kubejs/blockstates/lapis_ore_sample.json
  26. 7
      kubejs/assets/kubejs/blockstates/redstone_ore_sample.json
  27. 7
      kubejs/assets/kubejs/models/block/coal_ore_sample.json
  28. 7
      kubejs/assets/kubejs/models/block/copper_ore_sample.json
  29. 7
      kubejs/assets/kubejs/models/block/diamond_ore_sample.json
  30. 7
      kubejs/assets/kubejs/models/block/emerald_ore_sample.json
  31. 7
      kubejs/assets/kubejs/models/block/gold_ore_sample.json
  32. 7
      kubejs/assets/kubejs/models/block/iron_ore_sample.json
  33. 7
      kubejs/assets/kubejs/models/block/lapis_ore_sample.json
  34. 59
      kubejs/assets/kubejs/models/block/ore_sample.json
  35. 7
      kubejs/assets/kubejs/models/block/redstone_ore_sample.json
  36. 7
      kubejs/assets/kubejs/models/block/zinc_ore_sample.json
  37. 10
      kubejs/server_scripts/ore_samples.js
  38. 29
      kubejs/startup_scripts/ore_samples.js

@ -23,5 +23,7 @@
#To disable all generated features of the specified mod, use "modID:*" #To disable all generated features of the specified mod, use "modID:*"
#To see available features, use the '/place feature' command #To see available features, use the '/place feature' command
# #
disabledFeatures = [] disabledFeatures = [
"create:zinc_ore",
]

@ -10,7 +10,8 @@ Deposit {
# Syntax: targetId -> replacementId # Syntax: targetId -> replacementId
# With weight: targetId -> replacementId, weight # With weight: targetId -> replacementId, weight
S:customReplacements < 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. # 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. # means that gold and iron will be in the proportion 1 to 5.
# #
S:ores < S:ores <
coal_ore coal_ore, 8
coal_block, 1
> >
# Rarity (in chunks) of this deposit. # Rarity (in chunks) of this deposit.
# The higher the value, the rarer the deposit will be. # 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. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks.
# [range: 0 ~ 256000, default: 816] # [range: 0 ~ 256000, default: 816]
I:rarity=816 I:rarity=160
# List of blocks that can be replaced with this ore. # List of blocks that can be replaced with this ore.
S:replaceableBlocks < S:replaceableBlocks <
@ -86,10 +88,10 @@ Deposit {
Altitude { Altitude {
# [range: -2147483648 ~ 2147483647, default: 80] # [range: -2147483648 ~ 2147483647, default: 80]
I:max=80 I:max=96
# [range: -2147483648 ~ 2147483647, default: 0] # [range: -2147483648 ~ 2147483647, default: 0]
I:min=0 I:min=48
} }
Miscellaneous { Miscellaneous {
@ -100,7 +102,7 @@ Deposit {
# Values > 1 result in tall veins (deposits). # Values > 1 result in tall veins (deposits).
# Values < 1 result in flat veins (deposits). # Values < 1 result in flat veins (deposits).
# [range: 0.0 ~ 10.0, default: 1.0] # [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] # 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 B:strictBounds=false
@ -114,10 +116,10 @@ Deposit {
Size { Size {
# [range: 1 ~ 256000, default: 1800] # [range: 1 ~ 256000, default: 1800]
I:max=1800 I:max=2400
# [range: 1 ~ 256000, default: 900] # [range: 1 ~ 256000, default: 900]
I:min=900 I:min=600
} }
########################################################################################################## ##########################################################################################################
@ -137,19 +139,17 @@ Deposit {
# minecraft:orange_tulip, 4 # minecraft:orange_tulip, 4
# #
S:circles < S:circles <
silentgems:black_diamond_glowrose, 3 kubejs:coal_ore_sample, 3
botania:black_mystical_flower, 3 kubejs:coal_ore_sample, 5
minecraft:large_fern, 3 biomesoplenty:dead_grass, 6
silentgems:black_diamond_glowrose, 6 kubejs:coal_ore_sample, 8
botania:black_mystical_flower, 6
minecraft:large_fern, 6
> >
# Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] # 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] # 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: ] # ID of a block for a single-block indicator or ID of a structure to bind this deposit to. [default: ]
S:id= S:id=
@ -157,7 +157,7 @@ Deposit {
# Percentage of the deposit full size required to create an above-ground indicator. # 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. # If the indicator is a structure - the chance of generating a deposit under it.
# [range: 0.0 ~ 100.0, default: 30.0] # [range: 0.0 ~ 100.0, default: 30.0]
S:threshold=30.0 S:threshold=50.0
} }
} }

@ -10,7 +10,9 @@ Deposit {
# Syntax: targetId -> replacementId # Syntax: targetId -> replacementId
# With weight: targetId -> replacementId, weight # With weight: targetId -> replacementId, weight
S:customReplacements < 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. # 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. # means that gold and iron will be in the proportion 1 to 5.
# #
S:ores < S:ores <
copper_ore create:veridium, 10
copper_ore, 5
raw_copper_block, 1
> >
# Rarity (in chunks) of this deposit. # Rarity (in chunks) of this deposit.
# The higher the value, the rarer the deposit will be. # 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. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks.
# [range: 0 ~ 256000, default: 1452] # [range: 0 ~ 256000, default: 1452]
I:rarity=1452 I:rarity=160
# List of blocks that can be replaced with this ore. # List of blocks that can be replaced with this ore.
S:replaceableBlocks < S:replaceableBlocks <
@ -86,10 +90,10 @@ Deposit {
Altitude { Altitude {
# [range: -2147483648 ~ 2147483647, default: 64] # [range: -2147483648 ~ 2147483647, default: 64]
I:max=64 I:max=80
# [range: -2147483648 ~ 2147483647, default: -16] # [range: -2147483648 ~ 2147483647, default: -16]
I:min=-16 I:min=32
} }
Miscellaneous { Miscellaneous {
@ -114,10 +118,10 @@ Deposit {
Size { Size {
# [range: 1 ~ 256000, default: 1400] # [range: 1 ~ 256000, default: 1400]
I:max=1400 I:max=2600
# [range: 1 ~ 256000, default: 700] # [range: 1 ~ 256000, default: 700]
I:min=700 I:min=400
} }
########################################################################################################## ##########################################################################################################
@ -137,16 +141,14 @@ Deposit {
# minecraft:orange_tulip, 4 # minecraft:orange_tulip, 4
# #
S:circles < S:circles <
silentgems:spinel_glowrose, 3 kubejs:copper_ore_sample, 2
botania:orange_mystical_flower, 3 kubejs:copper_ore_sample, 4
minecraft:orange_tulip, 3 minecraft:fern, 5
silentgems:moonstone_glowrose, 6 kubejs:copper_ore_sample, 6
botania:light_gray_mystical_flower, 6
minecraft:lily_of_the_valley, 6
> >
# Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] # 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] # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1]
I:distortion=1 I:distortion=1
@ -157,7 +159,7 @@ Deposit {
# Percentage of the deposit full size required to create an above-ground indicator. # 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. # If the indicator is a structure - the chance of generating a deposit under it.
# [range: 0.0 ~ 100.0, default: 30.0] # [range: 0.0 ~ 100.0, default: 30.0]
S:threshold=30.0 S:threshold=50.0
} }
} }

@ -10,7 +10,9 @@ Deposit {
# Syntax: targetId -> replacementId # Syntax: targetId -> replacementId
# With weight: targetId -> replacementId, weight # With weight: targetId -> replacementId, weight
S:customReplacements < 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. # 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. # means that gold and iron will be in the proportion 1 to 5.
# #
S:ores < S:ores <
diamond_ore diamond_ore, 25
coal_ore, 10
emerald_ore, 1
> >
# Rarity (in chunks) of this deposit. # Rarity (in chunks) of this deposit.
# The higher the value, the rarer the deposit will be. # 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. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks.
# [range: 0 ~ 256000, default: 4200] # [range: 0 ~ 256000, default: 4200]
I:rarity=4200 I:rarity=600
# List of blocks that can be replaced with this ore. # List of blocks that can be replaced with this ore.
S:replaceableBlocks < S:replaceableBlocks <
@ -86,7 +90,7 @@ Deposit {
Altitude { Altitude {
# [range: -2147483648 ~ 2147483647, default: 16] # [range: -2147483648 ~ 2147483647, default: 16]
I:max=16 I:max=-48
# [range: -2147483648 ~ 2147483647, default: -64] # [range: -2147483648 ~ 2147483647, default: -64]
I:min=-64 I:min=-64
@ -100,7 +104,7 @@ Deposit {
# Values > 1 result in tall veins (deposits). # Values > 1 result in tall veins (deposits).
# Values < 1 result in flat veins (deposits). # Values < 1 result in flat veins (deposits).
# [range: 0.0 ~ 10.0, default: 1.0] # [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] # 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 B:strictBounds=false
@ -114,10 +118,10 @@ Deposit {
Size { Size {
# [range: 1 ~ 256000, default: 600] # [range: 1 ~ 256000, default: 600]
I:max=600 I:max=120
# [range: 1 ~ 256000, default: 300] # [range: 1 ~ 256000, default: 300]
I:min=300 I:min=40
} }
########################################################################################################## ##########################################################################################################
@ -137,19 +141,17 @@ Deposit {
# minecraft:orange_tulip, 4 # minecraft:orange_tulip, 4
# #
S:circles < S:circles <
silentgems:fluorite_glowrose, 3 kubejs:diamond_ore_sample, 2
botania:cyan_mystical_flower, 3 kubejs:diamond_ore_sample, 4
minecraft:blue_orchid, 3 minecraft:blue_orchid, 5
silentgems:fluorite_glowrose, 6 kubejs:diamond_ore_sample, 6
botania:cyan_mystical_flower, 6
minecraft:blue_orchid, 6
> >
# Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] # 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] # 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: ] # ID of a block for a single-block indicator or ID of a structure to bind this deposit to. [default: ]
S:id= S:id=
@ -157,7 +159,7 @@ Deposit {
# Percentage of the deposit full size required to create an above-ground indicator. # 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. # If the indicator is a structure - the chance of generating a deposit under it.
# [range: 0.0 ~ 100.0, default: 30.0] # [range: 0.0 ~ 100.0, default: 30.0]
S:threshold=30.0 S:threshold=50.0
} }
} }

@ -37,7 +37,7 @@ Deposit {
# The higher the value, the rarer the deposit will be. # 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. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks.
# [range: 0 ~ 256000, default: 4480] # [range: 0 ~ 256000, default: 4480]
I:rarity=4480 I:rarity=340
# List of blocks that can be replaced with this ore. # List of blocks that can be replaced with this ore.
S:replaceableBlocks < S:replaceableBlocks <
@ -75,6 +75,7 @@ Deposit {
S:blackList < S:blackList <
> >
S:whiteList < S:whiteList <
#is_mountain
> >
} }
@ -86,7 +87,7 @@ Deposit {
Altitude { Altitude {
# [range: -2147483648 ~ 2147483647, default: 16] # [range: -2147483648 ~ 2147483647, default: 16]
I:max=16 I:max=96
# [range: -2147483648 ~ 2147483647, default: -16] # [range: -2147483648 ~ 2147483647, default: -16]
I:min=-16 I:min=-16
@ -100,7 +101,7 @@ Deposit {
# Values > 1 result in tall veins (deposits). # Values > 1 result in tall veins (deposits).
# Values < 1 result in flat veins (deposits). # Values < 1 result in flat veins (deposits).
# [range: 0.0 ~ 10.0, default: 1.0] # [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] # 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 B:strictBounds=false
@ -114,10 +115,10 @@ Deposit {
Size { Size {
# [range: 1 ~ 256000, default: 600] # [range: 1 ~ 256000, default: 600]
I:max=600 I:max=160
# [range: 1 ~ 256000, default: 300] # [range: 1 ~ 256000, default: 300]
I:min=300 I:min=60
} }
########################################################################################################## ##########################################################################################################
@ -137,19 +138,17 @@ Deposit {
# minecraft:orange_tulip, 4 # minecraft:orange_tulip, 4
# #
S:circles < S:circles <
silentgems:phosphophyllite_glowrose, 3 kubejs:emerald_ore_sample, 2
botania:lime_mystical_flower, 3 kubejs:emerald_ore_sample, 4
minecraft:white_tulip, 3 biomesoplenty:pink_hibiscus, 5
silentgems:phosphophyllite_glowrose, 6 kubejs:emerald_ore_sample, 6
botania:lime_mystical_flower, 6
minecraft:white_tulip, 6
> >
# Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] # 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] # 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: ] # ID of a block for a single-block indicator or ID of a structure to bind this deposit to. [default: ]
S:id= S:id=
@ -157,7 +156,7 @@ Deposit {
# Percentage of the deposit full size required to create an above-ground indicator. # 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. # If the indicator is a structure - the chance of generating a deposit under it.
# [range: 0.0 ~ 100.0, default: 30.0] # [range: 0.0 ~ 100.0, default: 30.0]
S:threshold=30.0 S:threshold=50.0
} }
} }

@ -10,7 +10,9 @@ Deposit {
# Syntax: targetId -> replacementId # Syntax: targetId -> replacementId
# With weight: targetId -> replacementId, weight # With weight: targetId -> replacementId, weight
S:customReplacements < 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. # 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. # means that gold and iron will be in the proportion 1 to 5.
# #
S:ores < S:ores <
gold_ore create:ochrum, 10
gold_ore, 5
raw_gold_block, 1
> >
# Rarity (in chunks) of this deposit. # Rarity (in chunks) of this deposit.
# The higher the value, the rarer the deposit will be. # 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. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks.
# [range: 0 ~ 256000, default: 3256] # [range: 0 ~ 256000, default: 3256]
I:rarity=3256 I:rarity=300
# List of blocks that can be replaced with this ore. # List of blocks that can be replaced with this ore.
S:replaceableBlocks < S:replaceableBlocks <
@ -89,7 +93,7 @@ Deposit {
I:max=32 I:max=32
# [range: -2147483648 ~ 2147483647, default: 8] # [range: -2147483648 ~ 2147483647, default: 8]
I:min=8 I:min=-32
} }
Miscellaneous { Miscellaneous {
@ -114,10 +118,10 @@ Deposit {
Size { Size {
# [range: 1 ~ 256000, default: 1000] # [range: 1 ~ 256000, default: 1000]
I:max=1000 I:max=1400
# [range: 1 ~ 256000, default: 500] # [range: 1 ~ 256000, default: 500]
I:min=500 I:min=200
} }
########################################################################################################## ##########################################################################################################
@ -137,19 +141,17 @@ Deposit {
# minecraft:orange_tulip, 4 # minecraft:orange_tulip, 4
# #
S:circles < S:circles <
silentgems:jasper_glowrose, 3 kubejs:gold_ore_sample, 2
botania:orange_mystical_flower, 3 kubejs:gold_ore_sample, 4
minecraft:dandelion, 3 biomesoplenty:orange_cosmos, 5
silentgems:opal_glowrose, 6 kubejs:gold_ore_sample, 6
botania:white_mystical_flower, 6
minecraft:oxeye_daisy, 6
> >
# Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] # 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] # 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: ] # ID of a block for a single-block indicator or ID of a structure to bind this deposit to. [default: ]
S:id= S:id=
@ -157,7 +159,7 @@ Deposit {
# Percentage of the deposit full size required to create an above-ground indicator. # 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. # If the indicator is a structure - the chance of generating a deposit under it.
# [range: 0.0 ~ 100.0, default: 30.0] # [range: 0.0 ~ 100.0, default: 30.0]
S:threshold=30.0 S:threshold=50.0
} }
} }

@ -10,7 +10,9 @@ Deposit {
# Syntax: targetId -> replacementId # Syntax: targetId -> replacementId
# With weight: targetId -> replacementId, weight # With weight: targetId -> replacementId, weight
S:customReplacements < 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. # 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. # means that gold and iron will be in the proportion 1 to 5.
# #
S:ores < S:ores <
iron_ore create:crimsite, 10
iron_ore, 5
raw_iron_block, 1
> >
# Rarity (in chunks) of this deposit. # Rarity (in chunks) of this deposit.
# The higher the value, the rarer the deposit will be. # 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. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks.
# [range: 0 ~ 256000, default: 1020] # [range: 0 ~ 256000, default: 1020]
I:rarity=1020 I:rarity=200
# List of blocks that can be replaced with this ore. # List of blocks that can be replaced with this ore.
S:replaceableBlocks < S:replaceableBlocks <
@ -89,7 +93,7 @@ Deposit {
I:max=64 I:max=64
# [range: -2147483648 ~ 2147483647, default: -64] # [range: -2147483648 ~ 2147483647, default: -64]
I:min=-64 I:min=-16
} }
Miscellaneous { Miscellaneous {
@ -114,10 +118,10 @@ Deposit {
Size { Size {
# [range: 1 ~ 256000, default: 1400] # [range: 1 ~ 256000, default: 1400]
I:max=1400 I:max=2400
# [range: 1 ~ 256000, default: 700] # [range: 1 ~ 256000, default: 700]
I:min=700 I:min=400
} }
########################################################################################################## ##########################################################################################################
@ -137,16 +141,14 @@ Deposit {
# minecraft:orange_tulip, 4 # minecraft:orange_tulip, 4
# #
S:circles < S:circles <
silentgems:citrine_glowrose, 3 kubejs:iron_ore_sample, 2
botania:brown_mystical_flower, 3 kubejs:iron_ore_sample, 4
minecraft:orange_tulip, 3 biomesoplenty:wilted_lily, 5
silentgems:onyx_glowrose, 6 kubejs:iron_ore_sample, 6
botania:gray_mystical_flower, 6
minecraft:azure_bluet, 6
> >
# Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] # 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] # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1]
I:distortion=1 I:distortion=1
@ -157,7 +159,7 @@ Deposit {
# Percentage of the deposit full size required to create an above-ground indicator. # 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. # If the indicator is a structure - the chance of generating a deposit under it.
# [range: 0.0 ~ 100.0, default: 30.0] # [range: 0.0 ~ 100.0, default: 30.0]
S:threshold=30.0 S:threshold=50.0
} }
} }

@ -37,11 +37,12 @@ Deposit {
# The higher the value, the rarer the deposit will be. # 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. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks.
# [range: 0 ~ 256000, default: 3640] # [range: 0 ~ 256000, default: 3640]
I:rarity=3640 I:rarity=200
# List of blocks that can be replaced with this ore. # List of blocks that can be replaced with this ore.
S:replaceableBlocks < S:replaceableBlocks <
#minecraft:stone_ore_replaceables #minecraft:stone_ore_replaceables
minecraft:gravel
> >
########################################################################################################## ##########################################################################################################
@ -75,6 +76,8 @@ Deposit {
S:blackList < S:blackList <
> >
S:whiteList < S:whiteList <
#forge:is_water
#forge:is_wet
> >
} }
@ -86,7 +89,7 @@ Deposit {
Altitude { Altitude {
# [range: -2147483648 ~ 2147483647, default: 16] # [range: -2147483648 ~ 2147483647, default: 16]
I:max=16 I:max=0
# [range: -2147483648 ~ 2147483647, default: -32] # [range: -2147483648 ~ 2147483647, default: -32]
I:min=-32 I:min=-32
@ -100,7 +103,7 @@ Deposit {
# Values > 1 result in tall veins (deposits). # Values > 1 result in tall veins (deposits).
# Values < 1 result in flat veins (deposits). # Values < 1 result in flat veins (deposits).
# [range: 0.0 ~ 10.0, default: 1.0] # [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] # 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 B:strictBounds=false
@ -114,10 +117,10 @@ Deposit {
Size { Size {
# [range: 1 ~ 256000, default: 600] # [range: 1 ~ 256000, default: 600]
I:max=600 I:max=1000
# [range: 1 ~ 256000, default: 300] # [range: 1 ~ 256000, default: 300]
I:min=300 I:min=200
} }
########################################################################################################## ##########################################################################################################
@ -137,16 +140,14 @@ Deposit {
# minecraft:orange_tulip, 4 # minecraft:orange_tulip, 4
# #
S:circles < S:circles <
silentgems:benitoite_glowrose, 3 kubejs:lapis_ore_sample, 2
botania:blue_mystical_flower, 3 kubejs:lapis_ore_sample, 4
minecraft:cornflower, 3 minecraft:tube_coral_fan, 5
silentgems:benitoite_glowrose, 6 kubejs:lapis_ore_sample, 6
botania:blue_mystical_flower, 6
minecraft:cornflower, 6
> >
# Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] # 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] # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1]
I:distortion=1 I:distortion=1
@ -157,7 +158,7 @@ Deposit {
# Percentage of the deposit full size required to create an above-ground indicator. # 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. # If the indicator is a structure - the chance of generating a deposit under it.
# [range: 0.0 ~ 100.0, default: 30.0] # [range: 0.0 ~ 100.0, default: 30.0]
S:threshold=30.0 S:threshold=50.0
} }
} }

@ -10,7 +10,8 @@ Deposit {
# Syntax: targetId -> replacementId # Syntax: targetId -> replacementId
# With weight: targetId -> replacementId, weight # With weight: targetId -> replacementId, weight
S:customReplacements < 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. # 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. # means that gold and iron will be in the proportion 1 to 5.
# #
S:ores < S:ores <
redstone_ore redstone_ore, 8
redstone_block, 1
> >
# Rarity (in chunks) of this deposit. # Rarity (in chunks) of this deposit.
# The higher the value, the rarer the deposit will be. # 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. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks.
# [range: 0 ~ 256000, default: 3080] # [range: 0 ~ 256000, default: 3080]
I:rarity=3080 I:rarity=260
# List of blocks that can be replaced with this ore. # List of blocks that can be replaced with this ore.
S:replaceableBlocks < S:replaceableBlocks <
@ -86,10 +88,10 @@ Deposit {
Altitude { Altitude {
# [range: -2147483648 ~ 2147483647, default: 16] # [range: -2147483648 ~ 2147483647, default: 16]
I:max=16 I:max=-16
# [range: -2147483648 ~ 2147483647, default: -32] # [range: -2147483648 ~ 2147483647, default: -32]
I:min=-32 I:min=-48
} }
Miscellaneous { Miscellaneous {
@ -100,7 +102,7 @@ Deposit {
# Values > 1 result in tall veins (deposits). # Values > 1 result in tall veins (deposits).
# Values < 1 result in flat veins (deposits). # Values < 1 result in flat veins (deposits).
# [range: 0.0 ~ 10.0, default: 1.0] # [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] # 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 B:strictBounds=false
@ -114,7 +116,7 @@ Deposit {
Size { Size {
# [range: 1 ~ 256000, default: 600] # [range: 1 ~ 256000, default: 600]
I:max=600 I:max=1600
# [range: 1 ~ 256000, default: 300] # [range: 1 ~ 256000, default: 300]
I:min=300 I:min=300
@ -137,16 +139,14 @@ Deposit {
# minecraft:orange_tulip, 4 # minecraft:orange_tulip, 4
# #
S:circles < S:circles <
silentgems:carnelian_glowrose, 3 kubejs:redstone_ore_sample, 2
botania:red_mystical_flower, 3 kubejs:redstone_ore_sample, 4
minecraft:poppy, 3 biomesoplenty:rose, 5
silentgems:carnelian_glowrose, 6 kubejs:redstone_ore_sample, 6
botania:red_mystical_flower, 6
minecraft:poppy, 6
> >
# Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] # 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] # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1]
I:distortion=1 I:distortion=1
@ -157,7 +157,7 @@ Deposit {
# Percentage of the deposit full size required to create an above-ground indicator. # 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. # If the indicator is a structure - the chance of generating a deposit under it.
# [range: 0.0 ~ 100.0, default: 30.0] # [range: 0.0 ~ 100.0, default: 30.0]
S:threshold=30.0 S:threshold=50.0
} }
} }

@ -10,6 +10,9 @@ Deposit {
# Syntax: targetId -> replacementId # Syntax: targetId -> replacementId
# With weight: targetId -> replacementId, weight # With weight: targetId -> replacementId, weight
S:customReplacements < 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. # 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. # means that gold and iron will be in the proportion 1 to 5.
# #
S:ores < S:ores <
#forge:ores/zinc create:asurine, 10
create:zinc_ore, 5
create:raw_zinc_block, 1
> >
# Rarity (in chunks) of this deposit. # Rarity (in chunks) of this deposit.
# The higher the value, the rarer the deposit will be. # 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. # Example: a value of 1000 means that the deposit will be generated once every 1000 chunks.
# [range: 0 ~ 256000, default: 1206] # [range: 0 ~ 256000, default: 1206]
I:rarity=1206 I:rarity=200
# List of blocks that can be replaced with this ore. # List of blocks that can be replaced with this ore.
S:replaceableBlocks < S:replaceableBlocks <
@ -85,7 +90,7 @@ Deposit {
Altitude { Altitude {
# [range: -2147483648 ~ 2147483647, default: 64] # [range: -2147483648 ~ 2147483647, default: 64]
I:max=64 I:max=48
# [range: -2147483648 ~ 2147483647, default: 16] # [range: -2147483648 ~ 2147483647, default: 16]
I:min=16 I:min=16
@ -113,10 +118,10 @@ Deposit {
Size { Size {
# [range: 1 ~ 256000, default: 1400] # [range: 1 ~ 256000, default: 1400]
I:max=1400 I:max=1800
# [range: 1 ~ 256000, default: 700] # [range: 1 ~ 256000, default: 700]
I:min=700 I:min=300
} }
########################################################################################################## ##########################################################################################################
@ -136,16 +141,14 @@ Deposit {
# minecraft:orange_tulip, 4 # minecraft:orange_tulip, 4
# #
S:circles < S:circles <
silentgems:euclause_glowrose, 3 kubejs:zinc_ore_sample, 2
botania:light_blue_mystical_flower, 3 kubejs:zinc_ore_sample, 4
minecraft:blue_orchid, 3 minecraft:oxeye_daisy, 5
silentgems:moonstone_glowrose, 6 kubejs:zinc_ore_sample, 6
botania:light_gray_mystical_flower, 6
minecraft:lily_of_the_valley, 6
> >
# Percentage of the indicator shape that will be visible. [range: 0.0 ~ 100.0, default: 60.0] # 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] # Maximum displacement of the indicator shape elements. [range: 0 ~ 16, default: 1]
I:distortion=1 I:distortion=1
@ -156,7 +159,7 @@ Deposit {
# Percentage of the deposit full size required to create an above-ground indicator. # 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. # If the indicator is a structure - the chance of generating a deposit under it.
# [range: 0.0 ~ 100.0, default: 30.0] # [range: 0.0 ~ 100.0, default: 30.0]
S:threshold=30.0 S:threshold=50.0
} }
} }

@ -12,7 +12,7 @@ VanillaOre {
# CUSTOM - generation according to this config, # CUSTOM - generation according to this config,
# NONE - no generation at all. # NONE - no generation at all.
# Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] # 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 <modId:unitName:meta> format. # Id is a basic unit (block or item) identifier in <modId:unitName:meta> format.
# ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0.

@ -12,7 +12,7 @@ VanillaOre {
# CUSTOM - generation according to this config, # CUSTOM - generation according to this config,
# NONE - no generation at all. # NONE - no generation at all.
# Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] # 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 <modId:unitName:meta> format. # Id is a basic unit (block or item) identifier in <modId:unitName:meta> format.
# ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0.

@ -12,7 +12,7 @@ VanillaOre {
# CUSTOM - generation according to this config, # CUSTOM - generation according to this config,
# NONE - no generation at all. # NONE - no generation at all.
# Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] # 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 <modId:unitName:meta> format. # Id is a basic unit (block or item) identifier in <modId:unitName:meta> format.
# ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0.

@ -12,7 +12,7 @@ VanillaOre {
# CUSTOM - generation according to this config, # CUSTOM - generation according to this config,
# NONE - no generation at all. # NONE - no generation at all.
# Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] # 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 <modId:unitName:meta> format. # Id is a basic unit (block or item) identifier in <modId:unitName:meta> format.
# ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0.

@ -12,7 +12,7 @@ VanillaOre {
# CUSTOM - generation according to this config, # CUSTOM - generation according to this config,
# NONE - no generation at all. # NONE - no generation at all.
# Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] # 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 <modId:unitName:meta> format. # Id is a basic unit (block or item) identifier in <modId:unitName:meta> format.
# ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0.

@ -12,7 +12,7 @@ VanillaOre {
# CUSTOM - generation according to this config, # CUSTOM - generation according to this config,
# NONE - no generation at all. # NONE - no generation at all.
# Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] # 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 <modId:unitName:meta> format. # Id is a basic unit (block or item) identifier in <modId:unitName:meta> format.
# ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0.

@ -12,7 +12,7 @@ VanillaOre {
# CUSTOM - generation according to this config, # CUSTOM - generation according to this config,
# NONE - no generation at all. # NONE - no generation at all.
# Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] # 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 <modId:unitName:meta> format. # Id is a basic unit (block or item) identifier in <modId:unitName:meta> format.
# ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0.

@ -12,7 +12,7 @@ VanillaOre {
# CUSTOM - generation according to this config, # CUSTOM - generation according to this config,
# NONE - no generation at all. # NONE - no generation at all.
# Note that changing this setting requires a WORLD RESTART in order to update every biome's features. [default: vanilla] # 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 <modId:unitName:meta> format. # Id is a basic unit (block or item) identifier in <modId:unitName:meta> format.
# ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0. # ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0.

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "kubejs:block/coal_ore_sample"
}
}
}

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "kubejs:block/copper_ore_sample"
}
}
}

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "kubejs:block/diamond_ore_sample"
}
}
}

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "kubejs:block/emerald_ore_sample"
}
}
}

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "kubejs:block/gold_ore_sample"
}
}
}

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "kubejs:block/iron_ore_sample"
}
}
}

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "kubejs:block/lapis_ore_sample"
}
}
}

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "kubejs:block/redstone_ore_sample"
}
}
}

@ -0,0 +1,7 @@
{
"parent": "kubejs:block/ore_sample",
"textures": {
"particle": "block/stone",
"ore": "block/coal_ore"
}
}

@ -0,0 +1,7 @@
{
"parent": "kubejs:block/ore_sample",
"textures": {
"particle": "block/stone",
"ore": "block/copper_ore"
}
}

@ -0,0 +1,7 @@
{
"parent": "kubejs:block/ore_sample",
"textures": {
"particle": "block/stone",
"ore": "block/diamond_ore"
}
}

@ -0,0 +1,7 @@
{
"parent": "kubejs:block/ore_sample",
"textures": {
"particle": "block/stone",
"ore": "block/emerald_ore"
}
}

@ -0,0 +1,7 @@
{
"parent": "kubejs:block/ore_sample",
"textures": {
"particle": "block/stone",
"ore": "block/gold_ore"
}
}

@ -0,0 +1,7 @@
{
"parent": "kubejs:block/ore_sample",
"textures": {
"particle": "block/stone",
"ore": "block/iron_ore"
}
}

@ -0,0 +1,7 @@
{
"parent": "kubejs:block/ore_sample",
"textures": {
"particle": "block/stone",
"ore": "block/lapis_ore"
}
}

@ -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]
}
}
}

@ -0,0 +1,7 @@
{
"parent": "kubejs:block/ore_sample",
"textures": {
"particle": "block/stone",
"ore": "block/redstone_ore"
}
}

@ -0,0 +1,7 @@
{
"parent": "kubejs:block/ore_sample",
"textures": {
"particle": "block/stone",
"ore": "create:block/zinc_ore"
}
}

@ -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);
}
});

@ -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");
});
Loading…
Cancel
Save