Locate Biome (Section) — SkBee
Addon: SkBee · Category: Section · Since: 3.24.0
Syntax
locate biome %biomes/tagkeys% (within|in) radius %number% (around|of) %location%Description
Locates a biome within a specified radius around a given location. This accepts a single biome, list of biomes or a biome registry tag key. NOTE: The bigger the radius, the longer it takes to find a biome and the longer this will freeze the main thread. Once the biome is found, the location and biome will be available in the section. NOTE: While it might not be deemed thread safe, this does work off the main thread, use with caution.
Examples
locate biome beer:plains/temperate_plains in radius 5000 around player:
teleport player to block above highest block at event-location
# Async Example
async run task 0 ticks later:
locate biome (biome registry tag key "minecraft:is_beach") in radius 5000 around player:
# Pass back to the main thread so we can teleport the player
wait 1 tick
teleport player to block above highest block at event-location