2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_1320 net/minecraft/entity/attribute/EntityAttribute
|
2020-07-27 14:45:14 -04:00
|
|
|
COMMENT Represents a type of double-valued attribute that a living entity may have.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>An attribute is a tracked double value stored on an entity.
|
|
|
|
COMMENT An attribute has a default value on which attribute modifiers operate.
|
2020-04-04 16:18:55 -04:00
|
|
|
FIELD field_23697 fallback D
|
|
|
|
FIELD field_23698 tracked Z
|
|
|
|
FIELD field_23699 translationKey Ljava/lang/String;
|
|
|
|
METHOD <init> (Ljava/lang/String;D)V
|
|
|
|
ARG 1 translationKey
|
|
|
|
ARG 2 fallback
|
|
|
|
METHOD method_26829 setTracked (Z)Lnet/minecraft/class_1320;
|
2020-07-27 14:45:14 -04:00
|
|
|
COMMENT Sets all instances of this attribute to synchronize their values to clients.
|
2020-04-04 16:18:55 -04:00
|
|
|
ARG 1 tracked
|
|
|
|
METHOD method_26830 getTranslationKey ()Ljava/lang/String;
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_6165 clamp (D)D
|
2019-03-19 16:07:55 -04:00
|
|
|
ARG 1 value
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_6168 isTracked ()Z
|
2020-07-27 14:45:14 -04:00
|
|
|
COMMENT Checks if instances of this attribute should synchronize values to clients.
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_6169 getDefaultValue ()D
|