Package net.minecraft.world.attribute
Class WeatherAttributes
java.lang.Object
net.minecraft.world.attribute.WeatherAttributes
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnvironmentAttributeMapstatic final EnvironmentAttributeMapprivate static final Set<EnvironmentAttribute<?>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddBuiltinLayers(EnvironmentAttributeSystem.Builder pBuilder, WeatherAttributes.WeatherAccess pWeatherAccess) private static <Value> voidaddLayer(EnvironmentAttributeSystem.Builder pBuilder, WeatherAttributes.WeatherAccess pWeatherAccess, EnvironmentAttribute<Value> pAttribute)
-
Field Details
-
RAIN
-
THUNDER
-
WEATHER_ATTRIBUTES
-
-
Constructor Details
-
WeatherAttributes
public WeatherAttributes()
-
-
Method Details
-
addBuiltinLayers
public static void addBuiltinLayers(EnvironmentAttributeSystem.Builder pBuilder, WeatherAttributes.WeatherAccess pWeatherAccess) -
addLayer
private static <Value> void addLayer(EnvironmentAttributeSystem.Builder pBuilder, WeatherAttributes.WeatherAccess pWeatherAccess, EnvironmentAttribute<Value> pAttribute)
-