[Backported] WeatherType & WorldType from Bukkit