Class WeatherStuff

java.lang.Object
com.lightning.northstar.world.WeatherStuff

public class WeatherStuff extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static Map<com.mojang.datafixers.util.Pair<com.mojang.datafixers.util.Pair<net.minecraft.core.Direction,net.minecraft.core.Direction>,com.mojang.datafixers.util.Pair<WeatherStuff.WeatherCondition,Integer>>,net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getWeatherConditions(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> lev)
     
    com.mojang.datafixers.util.Pair<net.minecraft.core.Direction,net.minecraft.core.Direction>
    getWindDirection(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> lev)
     
    static boolean
    hasWeather(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> lev)
     
    static boolean
    hasWind(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> lev)
     
    static void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • managedPlanets

      public static Map<com.mojang.datafixers.util.Pair<com.mojang.datafixers.util.Pair<net.minecraft.core.Direction,net.minecraft.core.Direction>,com.mojang.datafixers.util.Pair<WeatherStuff.WeatherCondition,Integer>>,net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>> managedPlanets
  • Constructor Details

    • WeatherStuff

      public WeatherStuff()
  • Method Details

    • init

      public static void init()
    • getWindDirection

      public com.mojang.datafixers.util.Pair<net.minecraft.core.Direction,net.minecraft.core.Direction> getWindDirection(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> lev)
    • getWeatherConditions

      public WeatherStuff.WeatherCondition getWeatherConditions(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> lev)
    • hasWind

      public static boolean hasWind(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> lev)
    • hasWeather

      public static boolean hasWeather(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> lev)