Class Attribute

java.lang.Object
net.minecraft.world.entity.ai.attributes.Attribute
Direct Known Subclasses:
RangedAttribute

public class Attribute extends Object
  • Field Details

  • Constructor Details

    • Attribute

      protected Attribute(String p_22080_, double p_22081_)
  • Method Details

    • getDefaultValue

      public double getDefaultValue()
    • isClientSyncable

      public boolean isClientSyncable()
    • setSyncable

      public Attribute setSyncable(boolean p_22085_)
    • setSentiment

      public Attribute setSentiment(Attribute.Sentiment p_343981_)
    • sanitizeValue

      public double sanitizeValue(double p_22083_)
    • getDescriptionId

      public String getDescriptionId()
    • getStyle

      public ChatFormatting getStyle(boolean p_343100_)