A feature that would be extremely useful is a new subcommand for the if/unless statements in execute commands. We already have things like
/execute if block <x> <y> <z> <block>
to execute if the location matches the block and
/execute if entity <entity>
if the given entity exists. I am suggesting a feature to execute if a particular location is a certain biome. This may seem a bit random however it would make it way easier for datapack makers to add structures that only spawn in a certain biome. Currently you can have your own structures and simulate natural generation using commands but there isn't an easy way to check what biome it is when deciding if a structure should be spawned. The syntax would be something like
/execute if biome <x> <z> <biome>
No y-coordinate of course, since biomes aren't specific to height.
Please sign in to leave a comment.
1 Comments