/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
- Create a world with seed -2212060853571448367
- /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
2020-06-15, 09:38 PM
2024-04-30, 09:55 PM
2024-04-30, 09:54 PM
19
11
1.16 Pre-release 6 - 1.20.1
1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w10a, 21w13a, 21w14a, 1.17, 1.17.1 Pre-release 1, 1.17.1 Release Candidate 1, 1.17.1, 22w17a, 22w19a, 1.19.2, 1.20.1
-