cawezs_mantle_to_stratus/elements/Brownmushroompatches.mod.json

14 lines
1.8 KiB
JSON

{
"_fv": 77,
"_type": "feature",
"definition": {
"skipPlacement": false,
"generationStep": "SURFACE_STRUCTURES",
"restrictionBiomes": [
{
"value": "CUSTOM:Mushrooms"
}
],
"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=\"blockstate_selector\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" inputs=\"0\"/><field name=\"block\">Blocks.BROWN_MUSHROOM</field><comment h=\"80\" pinned=\"false\" w=\"160\">This is the block being placed.</comment></block></value><value name=\"condition\"><block type=\"block_predicate_is_air\"><comment h=\"72\" pinned=\"false\" w=\"251\">This condition is checked for every block that is being placed. Here we don't want the mushrooms to replace other blocks</comment></block></value></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><next><block type=\"placement_count_on_every_layer\"><value name=\"count\"><block type=\"int_provider_constant\"><field name=\"value\">1</field></block></value></block></next></block></next></block></xml>"
}
}