[REQUEST] Biome Controls

Discussion in 'Archived: Plugin Requests' started by Draconicus, Apr 21, 2011.

  1. Offline

    Draconicus

    I haven't the slightest idea as to whether Bukkit has any way to influence this data, but it would be splendid if there was some way to change the biome data of a specified region.

    I have an old map. A very, very old map that started out at in the earliest version of post-infdev Alpha, just after caves and water were fixed (anyone remember that?). This world has been in development for nearly a year, and it was basically pockmarked with randomly scattered biomes when that update came around. Notch's pretend biomes that generated simple deserts and so forth seemingly broke when the proper biome handling came out. Consequently, I have deserts that are marked as forests, and snowy regions that get rain.

    I'm sure I'm not the only server admin with an old map with nutty biomes. A plugin that could change the biome data would be greatly appreciated. Even if it was something crude, like a change-the-chunk-you're-standing-in implementation, I would still be content. Anything to stop the snow in random 16x16 areas...
     
    Huns likes this.
  2. Offline

    LDSkinny

    From what I understand, biomes aren't saved by chunk, but rather overlaid based on the world seed. I imagine this makes editing a specific biome very hard. That said, I'd like a way to take an existing world and just make it not have biomes. On my server I have multiple worlds, and one of them is just kind of there to be a flat canvas to built stuff in. After 1.5 suddenly half the world is covered in snow and I don't know how to get rid of it.
     
  3. Offline

    wojbie

    I have to agree with People before me - any mod allowing to read and change recorded biome type of area would be great - be it weather 16x16 or even 1 block at time. Its realy irritating having rain holes in middle of you city or even having small snowing area there there never was snow before.
     
  4. Offline

    Huns

    I'd definitely like this. Our world was first generated last October. As new versions were released, we eventually saw desert and snow biomes showing up.

    Fast forward to 1.5. Our beautiful lake has turned into an ice skating rink, and the dock under my house is now completely iced in. Some water is completely iced over and some of it is randomly distributed ice/water that looks like a gigantic shotgun blast. It seems that there are just random biome changes all over the map now, which is a huge bummer.

    I can see the boundaries where one biome starts and another ends and they seem fairly large, either entire regions or a sizable fraction of a region (perhaps 1/4 or 1/2.) It would be nice if I could just stand in the middle of a suddenly snowy region and type /region set (whatever) and have all the snow and (more importantly) iced over water just go away.

    If the biome of a particular region is a matter of the level seed, a plugin that changes biome types would have to maintain a datastore of which regions/chunks should be which biome in order to permanently override this. It doesn't have to be fancy - a simple YAML or even .ini file would be perfect for the job, and it would only need to be aware of just the regions that need to be changed rather than all of them. In theory it's possible, although I don't know how much of the underlying map data structure is exposed through the Bukkit API. It might require some updates to Bukkit itself.
     
  5. Offline

    Draconicus

    Glad to hear that there's more interest than mine alone.
     
  6. Offline

    Blarghedy

    The consensus on various threads scattered around the forum seems to be that whether it rains, snows, or nothings is decided by the worldseed. Has anyone figured out where this actually happens? I can picture a getWeatherType(seed, location) function that takes the seed and existing location and decides what weather to put there. Is that an event? Could bukkit make it one? If this is actually how weather is determined, overriding a function is easy. Override it with your own, decide if the location needs custom weather, based on something like a YAML file like Huns said, and call the original function otherwise. The quirk with doing it this way is that if you lose plugin data you also lose all modified biome data. Has anyone been able to find a definitive answer for how weather data is generated/stored?
     
  7. Offline

    Greylocke

    Recently in my world, areas that have never seen snow before now have snow appearing on the ground while rain is falling from the sky. Entire areas that had always been green rolling hills are covered in white.

    I have no problem with accumulating snow in areas where it snows, but I don't want rain making snow on the ground! If this is a bug, I'd like to get it fixed. If this is how it is supposed to work, then I'd like a way to specify which biomes get snow accumulation.

    Honestly, though, I smell bug.
     
  8. Offline

    Bill Warner

    it seems like my current seed and original seed are messed up. I get biomes in the wrong places (snow in desert rain in old snow areas etc...) and worldedit's regen doesn't work right as the new chunks it generates are wrong. Anyone know of a way to fix this?
     

Share This Page