[SPIGOT-2890] Inconsistent results from repeated use of setBiome() Created: 05/Dec/16  Updated: 06/Dec/16  Resolved: 06/Dec/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: VanDerProtofsky Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: biomes, setBiome, world
Environment:

Local testing Spigot 1.11 server

  • Windows 10, 16GB RAM, 8 cores
  • Plugins (1): TestDummy

Attachments: File TestDummy-1.0.0.jar    

 Description   

Repeated biome changes done using World.setBiome() are undone in random chunks when the server is stopped.

What chunks' biomes are reverted is unpredictable; these factors seem to come into play:

  • How often the chunks have had their biomes set with World.setBiome()
  • Whether the chunk is a spawn chunk or not
  • Whether the chunk was in player's view distance when the server is stopped
  • Whether a player was inside the chunk during the session

Reproduction

  1. Set up a Spigot server with level-type=FLAT, gamemode=1 and a new world
  2. Add TestDummy-1.0.0.jar to the plugins folder
  3. Start the server and join it. Observe surrounding chunks are PLAINS biome
  4. Execute /test JUNGLE - This sets columns in a 256 block radius around you to JUNGLE biome
  5. Execute /stop, then restart the server
  6. Join the server. Observe surrounding chunks are JUNGLE biome, as expected
  7. Fly a random direction for approx. 100 blocks
  8. Execute /test MESA
  9. Execute /stop, then restart the server
  10. Join the server

Notes

  • First discovered on 1.9 live server, reproducible on 1.10 and 1.11 Spigot and PaperSpigot servers using WorldEdit's //setbiome


 Comments   
Comment by VanDerProtofsky [ 06/Dec/16 ]

Confirmed fixed, thank you very much!

Generated at Sat Dec 13 15:20:32 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.