Skip to content

Commit

Permalink
use a normal json for config
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDeathlyCow committed Nov 15, 2023
1 parent e8c9f65 commit 718d100
Showing 1 changed file with 29 additions and 93 deletions.
Original file line number Diff line number Diff line change
@@ -1,98 +1,34 @@
{
"type": "minecraft:simple_random_selector",
"type": "frostiful:icicle_patch",
"config": {
"features": [
{
"feature": {
"type": "frostiful:icicle_patch",
"config": {
"icicle_height": {
"type": "minecraft:uniform",
"value": {
"min_inclusive": 1,
"max_inclusive": 6
}
},
"radius": {
"type": "minecraft:uniform",
"value": {
"min_inclusive": 2,
"max_inclusive": 8
}
},
"density": {
"type": "minecraft:uniform",
"value": {
"min_inclusive": 0.3,
"max_inclusive": 0.7
}
},
"floor_to_ceiling_search_range": 12,
"packed_ice_layer_thickness": {
"type": "minecraft:uniform",
"value": {
"min_inclusive": 4,
"max_inclusive": 7
}
}
}
},
"placement": [
{
"type": "minecraft:environment_scan",
"direction_of_search": "down",
"max_steps": 12,
"target_condition": {
"type": "minecraft:solid"
},
"allowed_search_condition": {
"type": "minecraft:matching_blocks",
"blocks": [
"minecraft:air",
"minecraft:water"
]
}
},
{
"type": "minecraft:random_offset",
"xz_spread": 0,
"y_spread": 1
}
]
},
{
"feature": {
"type": "frostiful:icicle_patch",
"config": {
"chance_of_taller_icicle": 1.0,
"chance_of_directional_spread": 0.9,
"chance_of_spread_radius2": 0.9,
"chance_of_spread_radius3": 0.8
}
},
"placement": [
{
"type": "minecraft:environment_scan",
"direction_of_search": "up",
"max_steps": 12,
"target_condition": {
"type": "minecraft:solid"
},
"allowed_search_condition": {
"type": "minecraft:matching_blocks",
"blocks": [
"minecraft:air",
"minecraft:water"
]
}
},
{
"type": "minecraft:random_offset",
"xz_spread": 0,
"y_spread": -1
}
]
"icicle_height": {
"type": "minecraft:uniform",
"value": {
"min_inclusive": 1,
"max_inclusive": 6
}
]
},
"radius": {
"type": "minecraft:uniform",
"value": {
"min_inclusive": 2,
"max_inclusive": 8
}
},
"density": {
"type": "minecraft:uniform",
"value": {
"min_inclusive": 0.3,
"max_inclusive": 0.7
}
},
"floor_to_ceiling_search_range": 12,
"packed_ice_layer_thickness": {
"type": "minecraft:uniform",
"value": {
"min_inclusive": 4,
"max_inclusive": 7
}
}
}
}

0 comments on commit 718d100

Please sign in to comment.