Class ThermooAttributes

java.lang.Object
com.github.thedeathlycow.thermoo.api.ThermooAttributes

public final class ThermooAttributes extends Object
Custom EntityAttributes provided by Thermoo
  • Field Details

    • MIN_TEMPERATURE

      public static final net.minecraft.entity.attribute.EntityAttribute MIN_TEMPERATURE
      The minimum temperature of an entity. By default, this is 0.

      Note that this is separate from MAX_TEMPERATURE. Each point of this attribute is decreases the minimum temperature of an entity by 140 points (140 points is the maximum number of freezing ticks that entities may have for powder snow freezing in vanilla).

      To set its base value, use EnvironmentController.getBaseValueForAttribute(EntityAttribute, LivingEntity) and check that this attribute is the provided attribute argument.

      See Also:
    • MAX_TEMPERATURE

      public static final net.minecraft.entity.attribute.EntityAttribute MAX_TEMPERATURE
      The maximum temperature of an entity. By default, this is 0.

      Note that this is separate from MIN_TEMPERATURE. Each point of this attribute is increases the maximum temperature of an entity by 140 points (140 points is the maximum number of freezing ticks that entities may have for powder snow freezing in vanilla).

      To set its base value, use EnvironmentController.getBaseValueForAttribute(EntityAttribute, LivingEntity) and check that this attribute is the provided attribute argument.

      See Also:
    • FROST_RESISTANCE

      public static final net.minecraft.entity.attribute.EntityAttribute FROST_RESISTANCE
      The cold resistance of an entity. 1 point of frost resistance corresponds to a 10% cold reduction

      To set its base value, use EnvironmentController.getBaseValueForAttribute(EntityAttribute, LivingEntity) and check that this attribute is the provided attribute argument.

      See Also:
    • HEAT_RESISTANCE

      public static final net.minecraft.entity.attribute.EntityAttribute HEAT_RESISTANCE
      The heat resistance of an entity. 1 point of heat resistance corresponds to a 10% heat reduction

      To set its base value, use EnvironmentController.getBaseValueForAttribute(EntityAttribute, LivingEntity) and check that this attribute is the provided attribute argument.

      See Also: