Skip to content

Commit

Permalink
fix: ores and marble caves not generating
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTJP committed Mar 23, 2024
1 parent c5bb183 commit ee1606a
Show file tree
Hide file tree
Showing 6 changed files with 516 additions and 109 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"type": "projectred_exploration:add_carver",
"biomes": "#minecraft:is_overworld",
"carvers": {
"type": "projectred_exploration:marble_cave",
"config": {
"debug_settings": {
"air_state": {
"Name": "minecraft:crimson_button",
"Properties": {
"face": "wall",
"facing": "north",
"powered": "false"
}
},
"barrier_state": {
"Name": "minecraft:glass"
},
"lava_state": {
"Name": "minecraft:orange_stained_glass"
},
"water_state": {
"Name": "minecraft:candle",
"Properties": {
"candles": "1",
"lit": "false",
"waterlogged": "false"
}
}
},
"floor_level": {
"type": "minecraft:uniform",
"value": {
"max_exclusive": -0.4,
"min_inclusive": -1.0
}
},
"horizontal_radius_multiplier": {
"type": "minecraft:uniform",
"value": {
"max_exclusive": 1.4,
"min_inclusive": 0.7
}
},
"lava_level": {
"above_bottom": 8
},
"probability": 0.01,
"replaceable": "#minecraft:overworld_carver_replaceables",
"vertical_radius_multiplier": {
"type": "minecraft:uniform",
"value": {
"max_exclusive": 1.3,
"min_inclusive": 0.8
}
},
"y": {
"type": "minecraft:uniform",
"max_inclusive": {
"absolute": 180
},
"min_inclusive": {
"above_bottom": 8
}
},
"yScale": {
"type": "minecraft:uniform",
"value": {
"max_exclusive": 0.9,
"min_inclusive": 0.1
}
}
}
},
"step": "air"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,313 @@
{
"type": "forge:add_features",
"biomes": "#minecraft:is_overworld",
"features": [
{
"feature": {
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 8,
"targets": [
{
"state": {
"Name": "projectred_exploration:ruby_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
},
{
"state": {
"Name": "projectred_exploration:deepslate_ruby_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
},
"placement": [
{
"type": "minecraft:count",
"count": 1
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:trapezoid",
"max_inclusive": {
"absolute": 80
},
"min_inclusive": {
"absolute": -80
}
}
}
]
},
{
"feature": {
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 8,
"targets": [
{
"state": {
"Name": "projectred_exploration:sapphire_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
},
{
"state": {
"Name": "projectred_exploration:deepslate_sapphire_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
},
"placement": [
{
"type": "minecraft:count",
"count": 1
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:trapezoid",
"max_inclusive": {
"absolute": 80
},
"min_inclusive": {
"absolute": -80
}
}
}
]
},
{
"feature": {
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 10,
"targets": [
{
"state": {
"Name": "projectred_exploration:peridot_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
},
{
"state": {
"Name": "projectred_exploration:deepslate_peridot_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
},
"placement": [
{
"type": "minecraft:count",
"count": 1
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:trapezoid",
"max_inclusive": {
"absolute": 80
},
"min_inclusive": {
"absolute": -80
}
}
}
]
},
{
"feature": {
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 8,
"targets": [
{
"state": {
"Name": "projectred_exploration:electrotine_ore",
"Properties": {
"lit": "false"
}
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
},
{
"state": {
"Name": "projectred_exploration:deepslate_electrotine_ore",
"Properties": {
"lit": "false"
}
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
},
"placement": [
{
"type": "minecraft:count",
"count": 4
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:trapezoid",
"max_inclusive": {
"absolute": 32
},
"min_inclusive": {
"absolute": -32
}
}
}
]
},
{
"feature": {
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 8,
"targets": [
{
"state": {
"Name": "projectred_exploration:tin_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
},
{
"state": {
"Name": "projectred_exploration:deepslate_tin_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
},
"placement": [
{
"type": "minecraft:count",
"count": 8
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:trapezoid",
"max_inclusive": {
"absolute": 56
},
"min_inclusive": {
"absolute": -24
}
}
}
]
},
{
"feature": {
"type": "minecraft:ore",
"config": {
"discard_chance_on_air_exposure": 0.0,
"size": 9,
"targets": [
{
"state": {
"Name": "projectred_exploration:silver_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
},
{
"state": {
"Name": "projectred_exploration:deepslate_silver_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
},
"placement": [
{
"type": "minecraft:count",
"count": 6
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:height_range",
"height": {
"type": "minecraft:trapezoid",
"max_inclusive": {
"absolute": 32
},
"min_inclusive": {
"absolute": -64
}
}
}
]
}
],
"step": "underground_ores"
}
Loading

0 comments on commit ee1606a

Please sign in to comment.