api for set biom temperature
Description
hi can you add an api that we can change the biom temperature in a chunk? or that we can change rain to snow without change the biomeid?
getChunk()->setBiomeTemperature()
or something else to change the rain to snow
Justification
in the moment i can only make that its snowing with getChunk()->setBiomId(12). but with this you can not set the biomid back to the normal biomid. there are to manny bioms in one world to set it back to normal biomid. so with temp i think we can let it snow without change the biomid. or some networkpacket can handle this idk. start rain is easy but for start snow it give nothing?
Alternative methods
?
get the biome of the chunk then change it to what u want then reset it
@Benedikt05 closed
no @CulteredSaint thats not working if you do it like this you have to save all biom ids from all chunks in 1 file that you can give every chunk the correct biom id back.
and i think you dont read wat i have written
no @CulteredSaint thats not working if you do it like this you have to save all biom ids from all chunks in 1 file that you can give every chunk the correct biom id back.
wrong u save the biome id in an array then u change it again if u want and when the plugin disables it gets all modified chunks and reset their biomeid
u want to change tempature right? then what i said is the solution since u will reset the tempature anyways
i want that it snow in every chunk i need it for a weather plugin. but if i walk in my worlds with so manny bioms i cant save all the biom ids and set it back to normal biomid its super easy to start rain in all worlds but start snow in the worlds is not working only if the biom have id 12 and if i change all the biom ids in all chunks how can i set the chunks back to normal ids like 1, 2, 3, 4 and so on i can save the chunk coords with biom id in a json yes but thats so much that the json have 1 million lines and array is not good for it, for example if the server crash the ids are away
just save them in db
its not like u will be able to open the db