Enum Class AttributeData

java.lang.Object
java.lang.Enum<AttributeData>
com.github.thedeathlycow.thermoo.impl.attribute.AttributeData
All Implemented Interfaces:
Serializable, Comparable<AttributeData>, Constable

public enum AttributeData extends Enum<AttributeData>
Metadata for Thermoo attributes
  • Enum Constant Details

    • MIN_TEMPERATURE

      public static final AttributeData MIN_TEMPERATURE
    • MAX_TEMPERATURE

      public static final AttributeData MAX_TEMPERATURE
    • MAX_SOAKING_TICK_MULTIPLIER

      public static final AttributeData MAX_SOAKING_TICK_MULTIPLIER
    • FROST_RESISTANCE

      public static final AttributeData FROST_RESISTANCE
    • HEAT_RESISTANCE

      public static final AttributeData HEAT_RESISTANCE
    • ENVIRONMENT_HEAT_RESISTANCE

      public static final AttributeData ENVIRONMENT_HEAT_RESISTANCE
    • ENVIRONMENT_FROST_RESISTANCE

      public static final AttributeData ENVIRONMENT_FROST_RESISTANCE
  • Method Details

    • values

      public static AttributeData[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AttributeData valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • id

      public net.minecraft.util.Identifier id()
    • attribute

      public net.minecraft.registry.entry.RegistryEntry<net.minecraft.entity.attribute.EntityAttribute> attribute()
    • baseValueEvent

      public net.fabricmc.fabric.api.event.Event<ThermooAttributes.SetBaseAttributeValue> baseValueEvent()