Weather Manipulation & Snow

Discussion in 'Plugin Development' started by Rocky_990, Jun 27, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Rocky_990

    Hello,

    Recently, I've been working on a plugin which will manipulate seasons and will create global snowfall during the heights of the winter - although I've not been able to think of a way to do this as it simply rains in the biomes which don't usually expect snowfall.

    I would greatly appreciate it if somebody could link me up with ways to do this or tell me if it isn't possible!

    Thanks,
    ~Rocky_990
     
  2. Offline

    Synapz

    I actually had this idea awhile ago to name it Seasons. However I had the same issue and quit... I thought I can set the biomes to snow, then use...
    Code:
    Bukkit.dispatchCommand(Bukkit.getConsoleSender, "weather on");
    But, I assume it would be difficult to efficiently change all active biomes in the world to a snow biome temporally, and to store the biomes regular biome in a config. Then when snowing is turned off to re add the old biome from config.

    I don't really know a different way to do this other than possibility creating "artificial" snow, where you make snow partials everywhere then make some blocks have snow on top and water turn to ice, the same way if it were a snow biome.
     
    Rocky_990 likes this.
  3. Offline

    Cycryl

    @Rocky_990 @Synapz
    It is impossible. You can make a biome look like another biome to the client, but wether it is snow or rain is dependent on the client.
     
  4. Offline

    Synapz

    @Cycryl
    This plugin uses snow particles http://dev.bukkit.org/bukkit-plugins/seasons/

    And I am almost 100% sure you can change biomes with WorldEdit, if you change it to a snow biome it snows. Even if it doesnt you can just place snow particles everywhere like I said before and what the plugin did.
     
    Cycryl and Anrza like this.
  5. Offline

    Anrza

    @Synapz Quite correct, you can change biomes with WorldEdit. But you have to reload those chunks to the client, by making them log in and out.
     
    Synapz likes this.
Thread Status:
Not open for further replies.

Share This Page