Disabling weather in custom dimensions

Upvotes: 0
Issue description

Another bug :P

Sometime when I enter a custom dimension, It is raining in the Dimension and /weather clear don't work for it, Even if I return in Overworld and do /weather clear, it is still raining in the dimensions..., I still don't know the cause of this but am still analyzing it...

It don't happen much time but it happen!

Issue comments

Submitted by Klemen on Thu, 11/22/2018 - 17:42

The weather command most likely can't control custom dimensions. We can add an option to disable raining in custom dimensions though. I can change this to a feature request if this would fix your issue?

Ok ( I think you should hire me for Bug finder lol, just joking)

I thought whether in custom dimensions was already disabled

Submitted by Klemen on Sun, 11/25/2018 - 09:18

Raol, I thought that too. I will check in what cases it could still be present and fix such cases.

Submitted by Klemen on Thu, 01/10/2019 - 20:23

I have checked and the following methods inside WorldProvider class manage weather:

    public boolean canDoLightning(net.minecraft.world.chunk.Chunk chunk)
        return true;

    public boolean canDoRainSnowIce(net.minecraft.world.chunk.Chunk chunk)
        return true;

    public void calculateInitialWeather()

    public void updateWeather()


Submitted by Klemen on Sat, 03/09/2019 - 17:02

This issue will be fixed in 1.8.3. I am closing this ticket now.

Due to the size of the 1.8.3 Changelog, this will be a big update