14 lines
2.2 KiB
JSON
14 lines
2.2 KiB
JSON
{
|
|
"_fv": 73,
|
|
"_type": "feature",
|
|
"definition": {
|
|
"skipPlacement": false,
|
|
"generationStep": "SURFACE_STRUCTURES",
|
|
"restrictionBiomes": [
|
|
{
|
|
"value": "CUSTOM:Clouds"
|
|
}
|
|
],
|
|
"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_replace_sphere\"><value name=\"targetState\"><block type=\"blockstate_selector\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"0\"></mutation><field name=\"block\">Blocks.TUFF</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.BONE_BLOCK</field></block></value><value name=\"radius\"><block type=\"int_provider_constant\"><field name=\"value\">7</field></block></value></block></value><next><block type=\"placement_count\"><comment pinned=\"false\" h=\"92\" w=\"224\">Placement modifiers are processed from top to bottom. First, we repeat the feature 7 times on every chunk</comment><value name=\"count\"><block type=\"int_provider_constant\"><field name=\"value\">7</field><comment pinned=\"false\" h=\"80\" w=\"160\">This is how many times the feature is repeated.</comment></block></value><next><block type=\"placement_in_square\"><comment pinned=\"false\" h=\"80\" w=\"189\">We then move each feature horizontally, so that they don't generate in the corner of the chunk</comment><next><block type=\"placement_height_uniform\"><comment pinned=\"false\" h=\"84\" w=\"208\">We then set the height of the feature. This ore feature generates with a uniform distribution between 0 and 160</comment><value name=\"min\"><block type=\"vertical_anchor_absolute\"><field name=\"value\">0</field></block></value><value name=\"max\"><block type=\"vertical_anchor_absolute\"><field name=\"value\">160</field></block></value><next><block type=\"placement_biome_filter\"><comment pinned=\"false\" h=\"85\" w=\"210\">Finally, we check that the feature isn't outside of the biome. This placement modifier should always be the last one.</comment></block></next></block></next></block></next></block></next></block></xml>"
|
|
}
|
|
} |