Class ThermooAttributes
EntityAttributes provided by Thermoo-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.entity.attribute.EntityAttributeThe cold resistance of an entity.static final net.minecraft.entity.attribute.EntityAttributeThe heat resistance of an entity.static final net.minecraft.entity.attribute.EntityAttributeThe maximum temperature of an entity.static final net.minecraft.entity.attribute.EntityAttributeThe minimum temperature of an entity. -
Method Summary
-
Field Details
-
MIN_TEMPERATURE
public static final net.minecraft.entity.attribute.EntityAttribute MIN_TEMPERATUREThe 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_TEMPERATUREThe 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_RESISTANCEThe cold resistance of an entity. 1 point of frost resistance corresponds to a 10% cold reductionTo 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_RESISTANCEThe heat resistance of an entity. 1 point of heat resistance corresponds to a 10% heat reductionTo set its base value, use
EnvironmentController.getBaseValueForAttribute(EntityAttribute, LivingEntity)and check that this attribute is the provided attribute argument.- See Also:
-