Package com.lightning.northstar.world
Class WeatherStuff
java.lang.Object
com.lightning.northstar.world.WeatherStuff
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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 -
Method Summary
Modifier and TypeMethodDescriptiongetWeatherConditions(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 booleanhasWeather(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> lev) static booleanhasWind(net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> lev) static voidinit()
-
Field Details
-
managedPlanets
public static Map<com.mojang.datafixers.util.Pair<com.mojang.datafixers.util.Pair<net.minecraft.core.Direction,net.minecraft.core.Direction>, managedPlanetscom.mojang.datafixers.util.Pair<WeatherStuff.WeatherCondition, Integer>>, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>>
-
-
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)
-