-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ores and marble caves not generating
- Loading branch information
Showing
6 changed files
with
516 additions
and
109 deletions.
There are no files selected for viewing
76 changes: 76 additions & 0 deletions
76
...ain/generated/data/projectred_exploration/forge/biome_modifier/add_overworld_carvers.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
313 changes: 313 additions & 0 deletions
313
...c/main/generated/data/projectred_exploration/forge/biome_modifier/add_overworld_ores.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
Oops, something went wrong.