{ "feature": "minecraft:firefly_bush", "placement": [ { "type": "minecraft:count", "count": 3 }, { "type": "minecraft:in_square" }, { "type": "minecraft:heightmap", "heightmap": "MOTION_BLOCKING" }, { "type": "minecraft:biome" }, { "type": "minecraft:block_predicate_filter", "predicate": { "type": "minecraft:all_of", "predicates": [ { "type": "minecraft:matching_block_tag", "tag": "minecraft:air" }, { "type": "minecraft:would_survive", "state": "minecraft:firefly_bush" }, { "type": "minecraft:any_of", "predicates": [ { "type": "minecraft:matching_fluids", "fluids": [ "minecraft:water", "minecraft:flowing_water" ], "offset": [ 1, -1, 0 ] }, { "type": "minecraft:matching_fluids", "fluids": [ "minecraft:water", "minecraft:flowing_water" ], "offset": [ -1, -1, 0 ] }, { "type": "minecraft:matching_fluids", "fluids": [ "minecraft:water", "minecraft:flowing_water" ], "offset": [ 0, -1, 1 ] }, { "type": "minecraft:matching_fluids", "fluids": [ "minecraft:water", "minecraft:flowing_water" ], "offset": [ 0, -1, -1 ] } ] } ] } }, { "type": "minecraft:count", "count": 20 }, { "type": "minecraft:offset", "x": { "type": "minecraft:trapezoid", "max": 4, "min": -4, "plateau": 0 }, "y": { "type": "minecraft:trapezoid", "max": 3, "min": -3, "plateau": 0 }, "z": { "type": "minecraft:trapezoid", "max": 4, "min": -4, "plateau": 0 } }, { "type": "minecraft:block_predicate_filter", "predicate": { "type": "minecraft:matching_block_tag", "tag": "minecraft:air" } } ] }