Biome Key of Location (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.6.0
Syntax
[the] biome key[s] of %locations%Description
Get/set the biome of a block/location using a NamespacedKey. Requires Paper 1.19+. **NOTES**: - This will support custom biomes. - When setting this will not immediately visually update the biome to players, you will need to use the `refresh %chunk%` effect.
Examples
set biome key of block at player to mc key "minecraft:plains"
set biome key of blocks in chunk at player to mc key "wythers:ancient_taiga"
refresh chunk at player # forces biomes to be re-sent to the player.
set {_key} to biome key of block at player
set {_keys::*} to biome keys of blocks in chunk at player