This commit is contained in:
nimsolated
2026-03-27 15:32:09 -07:00
parent c84aba4632
commit b8dbadcda0
229 changed files with 6491 additions and 194 deletions

View File

@@ -0,0 +1,23 @@
{
"_fv": 73,
"_type": "feature",
"definition": {
"skipPlacement": false,
"generationStep": "VEGETAL_DECORATION",
"restrictionBiomes": [
{
"value": "cherry_grove"
},
{
"value": "jungle"
},
{
"value": "jungle_edge"
},
{
"value": "bamboo_jungle"
}
],
"featurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"feature_container\" deletable=\"false\" x=\"63\" y=\"58\"><value name=\"feature\"><block type=\"feature_random_patch_simple\" inline=\"false\"><field name=\"tries\">96</field><field name=\"xzSpread\">7</field><field name=\"ySpread\">3</field><comment pinned=\"false\" h=\"126\" w=\"273\">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\"></mutation><field name=\"block\">CUSTOM:MintPlant</field><comment pinned=\"false\" h=\"80\" w=\"160\">This is the block being placed</comment></block></value><value name=\"condition\"><block type=\"block_predicate_is_air\"><comment pinned=\"false\" h=\"73\" w=\"306\">This condition is checked for every block that is being placed. Here we don't want tall grass to replace other blocks</comment></block></value></block></value><next><block type=\"placement_rarity\"><field name=\"rarity\">5</field><comment pinned=\"false\" h=\"80\" w=\"160\">This is so the patch only generates in some of the chunks</comment><next><block type=\"placement_in_square\"><comment pinned=\"false\" h=\"83\" w=\"182\">We then move each patch horizontally. This way they don't generate only in the corner of the chunk</comment><next><block type=\"placement_heightmap\"><field name=\"heightmap\">MOTION_BLOCKING</field><comment pinned=\"false\" h=\"92\" w=\"165\">We then move the patches at the highest motion blocking block, so that they generate on the surface</comment><next><block type=\"placement_biome_filter\"><comment pinned=\"false\" h=\"80\" 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></next></block></xml>"
}
}