Predicate Overlay
- Id:
moderner_beta:predicate_overlay
- Inputs:
parent
- Uses seed: depends on supplied predicates
- Added in: 3.0.0
The Predicate Overlay layer allows for the replacement of biomes depending on certain predicates. This layer provides the most extensive use of biome predicates.
Properties
targets
- Type:
list[{predicate: biome-predicate, type: string, result: string}]
- Default: required
- Description: The list of targets to apply for each predicate.
- Type:
Example
A Predicate Overlay layer is used for creating thick borders on biome boundaries in presets based on 1.7+.
JSON (exceprt)
json
{
"id": "land",
"seed": 0,
"parent": "land",
"targets": [
{
"predicate": {
"terms": [
{
"biomes": [
"minecraft:wooded_badlands",
"minecraft:badlands*plateau"
],
"condition": "moderner_beta:in_set"
},
{
"term": {
"requiredCount": 4,
"diagonal": false,
"neighborPredicate": {
"biomes": [
"~minecraft:badlands",
"~minecraft:eroded_badlands",
"~minecraft:wooded_badlands"
],
"condition": "moderner_beta:in_set"
},
"condition": "moderner_beta:neighbor_match"
},
"condition": "moderner_beta:inverted"
}
],
"condition": "moderner_beta:all_of"
},
"result": "minecraft:badlands",
"type": "biome"
},
{
"predicate": {
"terms": [
{
"biome": "minecraft:old_growth_pine_taiga",
"condition": "moderner_beta:single_match"
},
{
"term": {
"requiredCount": 4,
"diagonal": false,
"neighborPredicate": {
"biomes": [
"~minecraft:old_growth_spurce_taiga",
"~minecraft:snowy_taiga",
"~minecraft:old_growth_pine_taiga",
"~minecraft:taiga"
],
"condition": "moderner_beta:in_set"
},
"condition": "moderner_beta:neighbor_match"
},
"condition": "moderner_beta:inverted"
}
],
"condition": "moderner_beta:all_of"
},
"result": "minecraft:taiga",
"type": "biome"
}
],
"type": "moderner_beta:predicate_overlay"
},
Before (zoomed 4x)
After (zoomed 4x)