14 lines
2.9 KiB
JSON
14 lines
2.9 KiB
JSON
{
|
|
"_fv": 73,
|
|
"_type": "feature",
|
|
"definition": {
|
|
"skipPlacement": false,
|
|
"generationStep": "SURFACE_STRUCTURES",
|
|
"restrictionBiomes": [
|
|
{
|
|
"value": "CUSTOM:Supersized"
|
|
}
|
|
],
|
|
"featurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"feature_lake\" x=\"279\" y=\"-37\"><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=\"border\"><block type=\"blockstate_selector\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"0\"></mutation><field name=\"block\">Blocks.MOSSY_COBBLESTONE</field><comment pinned=\"false\" h=\"80\" w=\"160\">Surface lava lakes generate with a border made of stone.</comment></block></value></block><block type=\"feature_container\" deletable=\"false\" x=\"40\" y=\"40\"><value name=\"feature\"><block type=\"feature_replace_sphere\"><value name=\"targetState\"><block type=\"blockstate_selector\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"0\"></mutation><field name=\"block\">Blocks.GRASS</field></block></value><value name=\"newState\"><block type=\"blockstate_selector\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"0\"></mutation><field name=\"block\">Blocks.FLOWING_WATER</field><comment pinned=\"false\" h=\"80\" w=\"160\">This is the \"fluid\" of the lake. Here it's lava, but you can replace it with your custom fluid, or with any other block.</comment></block></value><value name=\"radius\"><block type=\"int_provider_constant\"><field name=\"value\">5</field></block></value></block></value><next><block type=\"placement_in_square\"><comment pinned=\"false\" h=\"84\" w=\"215\">If the lake does generate, we move it horizontally, so that it doesn't generate in the corner of the chunk</comment><next><block type=\"placement_heightmap\"><field name=\"heightmap\">WORLD_SURFACE_WG</field><comment pinned=\"false\" h=\"80\" w=\"160\">We place the lake at the top non-air block, which will be the surface during world generation</comment><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><next><block type=\"placement_block_predicate_filter\"><value name=\"condition\"><block type=\"block_predicate_all_of\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"2\"></mutation><value name=\"condition0\"><block type=\"block_predicate_inside_world\"><field name=\"x\">0</field><field name=\"y\">-15</field><field name=\"z\">0</field></block></value><value name=\"condition1\"><block type=\"block_predicate_inside_world\"><field name=\"x\">0</field><field name=\"y\">15</field><field name=\"z\">0</field></block></value></block></value></block></next></block></next></block></next></block></next></block></xml>"
|
|
}
|
|
} |