10 lines
3.2 KiB
JSON
10 lines
3.2 KiB
JSON
{
|
|
"_fv": 77,
|
|
"_type": "feature",
|
|
"definition": {
|
|
"skipPlacement": false,
|
|
"generationStep": "SURFACE_STRUCTURES",
|
|
"restrictionBiomes": [],
|
|
"featurexml": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><xml xmlns=\"https://developers.google.com/blockly/xml\"><block deletable=\"false\" type=\"feature_container\" x=\"40\" y=\"40\"><value name=\"feature\"><block inline=\"false\" type=\"feature_random_patch_simple\"><field name=\"tries\">96</field><field name=\"xzSpread\">7</field><field name=\"ySpread\">3</field><comment h=\"122\" pinned=\"false\" w=\"245\">This block represents a block patch feature. The blocks will only generate in valid positions (for example, grass will never generate on a stone block).Patches of plants should be generated during the VEGETAL_DECORATION stage.</comment><value name=\"block\"><block type=\"state_provider_weighted\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"3\"/><field name=\"weight0\">1</field><field name=\"weight1\">1</field><field name=\"weight2\">1</field><value name=\"entry0\"><block type=\"blockstate_selector\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"0\"/><field name=\"block\">Blocks.SWEET_BERRY_BUSH</field></block></value><value name=\"entry1\"><block type=\"blockstate_selector\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"0\"/><field name=\"block\">Blocks.PUMPKIN</field><comment h=\"80\" pinned=\"false\" w=\"160\">This is the block being placed.</comment></block></value><value name=\"entry2\"><block type=\"blockstate_selector\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"0\"/><field name=\"block\">Blocks.MELON_BLOCK</field></block></value></block></value><value name=\"condition\"><block type=\"block_predicate_all_of\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"2\"/><comment h=\"80\" pinned=\"false\" w=\"160\">Pumpkins need to verify two conditions to be placed.</comment><value name=\"condition0\"><block type=\"block_predicate_is_air\"><comment h=\"80\" pinned=\"false\" w=\"160\">Pumpkins can't replace other blocks</comment></block></value><value name=\"condition1\"><block type=\"block_predicate_matching_blocks\"><field name=\"x\">0</field><field name=\"y\">-1</field><field name=\"z\">0</field><comment h=\"80\" pinned=\"false\" w=\"160\">Pumpkins can only generate on grass blocks</comment><value name=\"blockSet\"><block type=\"block_holderset_list\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"1\"/><field name=\"block0\">Blocks.GRASS</field></block></value></block></value></block></value></block></value><next><block type=\"placement_rarity\"><field name=\"rarity\">10</field><comment h=\"80\" pinned=\"false\" w=\"160\">This is so the patch only generates in some of the chunks. The higher the value, the rarer the patch will be</comment><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_biome_filter\"><comment h=\"80\" pinned=\"false\" w=\"160\">We add a biome filter, so that the patches don't generate outside of the current biome</comment></block></next></block></next></block></next></block></xml>"
|
|
}
|
|
} |