Class ThermooEnvironmentAttributes

java.lang.Object
com.github.thedeathlycow.thermoo.api.environment.v2.attribute.ThermooEnvironmentAttributes

public final class ThermooEnvironmentAttributes extends Object
Thermoo analogue for EnvironmentAttributes.

Defines Thermoo's custom environment attributes.

  • Field Details

    • TEMPERATE_SEASON

      public static final net.minecraft.world.attribute.EnvironmentAttribute<Optional<TemperateSeason>> TEMPERATE_SEASON
      An environment attribute that stores a temperate season. By default, this attribute is empty.
      See Also:
    • TROPICAL_SEASON

      public static final net.minecraft.world.attribute.EnvironmentAttribute<Optional<TropicalSeason>> TROPICAL_SEASON
      An environment attribute that stores a tropical season. By default, this attribute is empty.
      See Also:
    • TEMPERATE_SEASON_PROGRESS

      public static final net.minecraft.world.attribute.EnvironmentAttribute<Float> TEMPERATE_SEASON_PROGRESS
      An environment attribute that stores the current progress of a temperate season. This attribute's value is clamped to the range [0, 1] when used, but may take any value permitted by AttributeTypes.FLOAT.

      By default, this attribute has a value of 0. It may be interpolated, and modified with the operations alpha blend, add, subtract, multiply, minimum, and maximum.

      See Also:
      • AttributeTypes.FLOAT
    • TROPICAL_SEASON_PROGRESS

      public static final net.minecraft.world.attribute.EnvironmentAttribute<Float> TROPICAL_SEASON_PROGRESS
      An environment attribute that stores the current progress of a tropical season. This attribute's value is clamped to the range [0, 1] when used, but may take any value permitted by AttributeTypes.FLOAT.

      By default, this attribute has a value of 0. It may be interpolated, and modified with the operations alpha blend, add, subtract, multiply, minimum, and maximum.

      See Also:
      • AttributeTypes.FLOAT
    • TEMPERATURE

      public static final net.minecraft.world.attribute.EnvironmentAttribute<TemperatureRecord> TEMPERATURE
      An environment attribute that stores the base temperature of an area. This attribute defaults to 20°C.
      See Also:
    • ATMOSPHERIC_PRESSURE

      public static final net.minecraft.world.attribute.EnvironmentAttribute<Double> ATMOSPHERIC_PRESSURE
      An environment attribute that stores the base atmospheric pressure of an area, in millibars. The attribute defaults to 1013.25 mbar.