Class BiomeModificationsImpl.MutableClimatePropertiesWrapped
java.lang.Object
me.shedaniel.architectury.registry.forge.BiomeModificationsImpl.MutableClimatePropertiesWrapped
- All Implemented Interfaces:
me.shedaniel.architectury.hooks.biome.ClimateProperties
,me.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable
- Enclosing class:
- BiomeModificationsImpl
public static class BiomeModificationsImpl.MutableClimatePropertiesWrapped
extends Object
implements me.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable
-
Nested Class Summary
Nested classes/interfaces inherited from interface me.shedaniel.architectury.hooks.biome.ClimateProperties
me.shedaniel.architectury.hooks.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 me.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable
setDownfall
(float downfall) @NotNull me.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable
setPrecipitation
(@NotNull net.minecraft.world.level.biome.Biome.Precipitation precipitation) @NotNull me.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable
setTemperature
(float temperature) @NotNull me.shedaniel.architectury.hooks.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 interfaceme.shedaniel.architectury.hooks.biome.ClimateProperties
-
getTemperature
public float getTemperature()- Specified by:
getTemperature
in interfaceme.shedaniel.architectury.hooks.biome.ClimateProperties
-
getTemperatureModifier
@NotNull public net.minecraft.world.level.biome.Biome.TemperatureModifier getTemperatureModifier()- Specified by:
getTemperatureModifier
in interfaceme.shedaniel.architectury.hooks.biome.ClimateProperties
-
getDownfall
public float getDownfall()- Specified by:
getDownfall
in interfaceme.shedaniel.architectury.hooks.biome.ClimateProperties
-
setPrecipitation
@NotNull public @NotNull me.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable setPrecipitation(@NotNull net.minecraft.world.level.biome.Biome.Precipitation precipitation) - Specified by:
setPrecipitation
in interfaceme.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable
-
setTemperature
@NotNull public @NotNull me.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable setTemperature(float temperature) - Specified by:
setTemperature
in interfaceme.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable
-
setTemperatureModifier
@NotNull public @NotNull me.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable setTemperatureModifier(@NotNull net.minecraft.world.level.biome.Biome.TemperatureModifier temperatureModifier) - Specified by:
setTemperatureModifier
in interfaceme.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable
-
setDownfall
@NotNull public @NotNull me.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable setDownfall(float downfall) - Specified by:
setDownfall
in interfaceme.shedaniel.architectury.hooks.biome.ClimateProperties.Mutable
-