Class BiomeModificationsImpl.MutableClimatePropertiesWrapped
java.lang.Object
dev.architectury.registry.level.biome.forge.BiomeModificationsImpl.MutableClimatePropertiesWrapped
- All Implemented Interfaces:
dev.architectury.hooks.level.biome.ClimateProperties
,dev.architectury.hooks.level.biome.ClimateProperties.Mutable
- Enclosing class:
- BiomeModificationsImpl
public static class BiomeModificationsImpl.MutableClimatePropertiesWrapped
extends Object
implements dev.architectury.hooks.level.biome.ClimateProperties.Mutable
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.architectury.hooks.level.biome.ClimateProperties
dev.architectury.hooks.level.biome.ClimateProperties.Mutable
-
Field Summary
Modifier and TypeFieldDescriptionboolean
float
net.minecraft.world.level.biome.Biome.Precipitation
float
net.minecraft.world.level.biome.Biome.TemperatureModifier
-
Constructor Summary
ConstructorDescriptionMutableClimatePropertiesWrapped
(net.minecraft.world.level.biome.Biome.ClimateSettings settings) MutableClimatePropertiesWrapped
(net.minecraft.world.level.biome.Biome.Precipitation precipitation, float temperature, net.minecraft.world.level.biome.Biome.TemperatureModifier temperatureModifier, float downfall) -
Method Summary
Modifier and TypeMethodDescriptionfloat
net.minecraft.world.level.biome.Biome.Precipitation
float
net.minecraft.world.level.biome.Biome.TemperatureModifier
@NotNull dev.architectury.hooks.level.biome.ClimateProperties.Mutable
setDownfall
(float downfall) @NotNull dev.architectury.hooks.level.biome.ClimateProperties.Mutable
setPrecipitation
(@NotNull net.minecraft.world.level.biome.Biome.Precipitation precipitation) @NotNull dev.architectury.hooks.level.biome.ClimateProperties.Mutable
setTemperature
(float temperature) @NotNull dev.architectury.hooks.level.biome.ClimateProperties.Mutable
setTemperatureModifier
(@NotNull net.minecraft.world.level.biome.Biome.TemperatureModifier temperatureModifier)
-
Field Details
-
precipitation
public net.minecraft.world.level.biome.Biome.Precipitation precipitation -
temperature
public float temperature -
temperatureModifier
public net.minecraft.world.level.biome.Biome.TemperatureModifier temperatureModifier -
downfall
public float downfall -
dirty
public boolean dirty
-
-
Constructor Details
-
MutableClimatePropertiesWrapped
public MutableClimatePropertiesWrapped(net.minecraft.world.level.biome.Biome.ClimateSettings settings) -
MutableClimatePropertiesWrapped
public MutableClimatePropertiesWrapped(net.minecraft.world.level.biome.Biome.Precipitation precipitation, float temperature, net.minecraft.world.level.biome.Biome.TemperatureModifier temperatureModifier, float downfall)
-
-
Method Details
-
getPrecipitation
@NotNull public net.minecraft.world.level.biome.Biome.Precipitation getPrecipitation()- Specified by:
getPrecipitation
in interfacedev.architectury.hooks.level.biome.ClimateProperties
-
getTemperature
public float getTemperature()- Specified by:
getTemperature
in interfacedev.architectury.hooks.level.biome.ClimateProperties
-
getTemperatureModifier
@NotNull public net.minecraft.world.level.biome.Biome.TemperatureModifier getTemperatureModifier()- Specified by:
getTemperatureModifier
in interfacedev.architectury.hooks.level.biome.ClimateProperties
-
getDownfall
public float getDownfall()- Specified by:
getDownfall
in interfacedev.architectury.hooks.level.biome.ClimateProperties
-
setPrecipitation
@NotNull public @NotNull dev.architectury.hooks.level.biome.ClimateProperties.Mutable setPrecipitation(@NotNull net.minecraft.world.level.biome.Biome.Precipitation precipitation) - Specified by:
setPrecipitation
in interfacedev.architectury.hooks.level.biome.ClimateProperties.Mutable
-
setTemperature
@NotNull public @NotNull dev.architectury.hooks.level.biome.ClimateProperties.Mutable setTemperature(float temperature) - Specified by:
setTemperature
in interfacedev.architectury.hooks.level.biome.ClimateProperties.Mutable
-
setTemperatureModifier
@NotNull public @NotNull dev.architectury.hooks.level.biome.ClimateProperties.Mutable setTemperatureModifier(@NotNull net.minecraft.world.level.biome.Biome.TemperatureModifier temperatureModifier) - Specified by:
setTemperatureModifier
in interfacedev.architectury.hooks.level.biome.ClimateProperties.Mutable
-
setDownfall
@NotNull public @NotNull dev.architectury.hooks.level.biome.ClimateProperties.Mutable setDownfall(float downfall) - Specified by:
setDownfall
in interfacedev.architectury.hooks.level.biome.ClimateProperties.Mutable
-