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

    Fields
    Modifier and Type
    Field
    Description
    boolean
     
    float
     
    net.minecraft.world.level.biome.Biome.Precipitation
     
    float
     
    net.minecraft.world.level.biome.Biome.TemperatureModifier
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    MutableClimatePropertiesWrapped(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 Type
    Method
    Description
    float
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface dev.architectury.hooks.level.biome.ClimateProperties
    • getTemperature

      public float getTemperature()
      Specified by:
      getTemperature in interface dev.architectury.hooks.level.biome.ClimateProperties
    • getTemperatureModifier

      @NotNull public net.minecraft.world.level.biome.Biome.TemperatureModifier getTemperatureModifier()
      Specified by:
      getTemperatureModifier in interface dev.architectury.hooks.level.biome.ClimateProperties
    • getDownfall

      public float getDownfall()
      Specified by:
      getDownfall in interface dev.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 interface dev.architectury.hooks.level.biome.ClimateProperties.Mutable
    • setTemperature

      @NotNull public @NotNull dev.architectury.hooks.level.biome.ClimateProperties.Mutable setTemperature(float temperature)
      Specified by:
      setTemperature in interface dev.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 interface dev.architectury.hooks.level.biome.ClimateProperties.Mutable
    • setDownfall

      @NotNull public @NotNull dev.architectury.hooks.level.biome.ClimateProperties.Mutable setDownfall(float downfall)
      Specified by:
      setDownfall in interface dev.architectury.hooks.level.biome.ClimateProperties.Mutable