cawezs_mantle_to_stratus/elements/Frozenpowder.mod.json
2024-10-22 18:23:11 -04:00

14 lines
2.2 KiB
JSON

{
"_fv": 69,
"_type": "feature",
"definition": {
"skipPlacement": false,
"generationStep": "SURFACE_STRUCTURES",
"restrictionBiomes": [
{
"value": "CUSTOM:Frozencaves"
}
],
"featurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"feature_container\" deletable=\"false\" x=\"40\" y=\"40\"><value name=\"feature\"><block type=\"feature_lake\"><comment pinned=\"false\" h=\"80\" w=\"160\">This feature block represents a lake. You can change the inputs to your liking.Lakes should be generated during the \"LAKES\" generation stage.</comment><value name=\"fluid\"><block type=\"blockstate_selector\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"0\"></mutation><field name=\"block\">Blocks.POWDER_SNOW</field><comment pinned=\"false\" h=\"80\" w=\"160\">This is the \"fluid\" of the lake. Here it's water, but you can replace it with your custom fluid, or with any other block.</comment></block></value><value name=\"border\"><block type=\"blockstate_selector\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"0\"></mutation><field name=\"block\">Blocks.POWDER_SNOW</field><comment pinned=\"false\" h=\"80\" w=\"160\">This is the border of your lake. Here it's air, but you can replace with other blocks, such as stone.</comment></block></value></block></value><next><block type=\"placement_count_on_every_layer\"><value name=\"count\"><block type=\"int_provider_constant\"><field name=\"value\">1</field></block></value><next><block type=\"placement_environment_scan\"><field name=\"maxSteps\">32</field><field name=\"direction\">DOWN</field><comment pinned=\"false\" h=\"91\" w=\"320\">Lakes can't generate in mid-air. To make lakes more common, we scan down until we find a block that isn't air.If we can't find any non-air block, the lake doesn't generate.</comment><value name=\"condition\"><block type=\"block_predicate_not\"><value name=\"condition\"><block type=\"block_predicate_is_air\"></block></value></block></value><next><block type=\"placement_biome_filter\"><comment pinned=\"false\" h=\"80\" w=\"160\">We add a biome filter, to make sure that the lake only generates in the selected \"Restriction biomes\"</comment></block></next></block></next></block></next></block></xml>"
}
}