Mojira Archive
MC-189880

/locate biome can cause large amounts of server lag if the specified biome is very rare or non-existant

The bug

When the /locate biome command is used on a biome like the modified jungle edge (in my world with seed -2212060853571448367, for example, but for most other seeds as well) where that biome is nonexistent for at least many thousands of blocks, the command will cause significant amounts of server lag.

To reproduce

  1. Create a world with seed -2212060853571448367
  2. /locate biome minecraft:mushroom_fields
    Notice that blocks don't drop and the game doesn't react

Video

https://drive.google.com/file/d/1MBQv7JSWE0l5HpxFoTCe55TXL0E6ZoYl/view