yarn/mappings/net/minecraft/entity/attribute/EntityAttributeInstance.map...

67 lines
3.4 KiB
Plaintext
Raw Normal View History

2019-06-28 17:55:20 -04:00
CLASS net/minecraft/class_1324 net/minecraft/entity/attribute/EntityAttributeInstance
Some entity attribute docs (#1609) * Some attribute docs * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * has and clarify * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeModifier.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-27 14:45:14 -04:00
COMMENT A double-valued attribute.
FIELD field_23700 type Lnet/minecraft/class_1320;
FIELD field_23701 operationToModifiers Ljava/util/Map;
Some entity attribute docs (#1609) * Some attribute docs * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * has and clarify * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeModifier.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-27 14:45:14 -04:00
FIELD field_23702 idToModifiers Ljava/util/Map;
FIELD field_23703 persistentModifiers Ljava/util/Set;
FIELD field_23704 baseValue D
FIELD field_23705 dirty Z
FIELD field_23706 value D
FIELD field_23707 updateCallback Ljava/util/function/Consumer;
METHOD <init> (Lnet/minecraft/class_1320;Ljava/util/function/Consumer;)V
ARG 1 type
ARG 2 updateCallback
METHOD method_26831 setFrom (Lnet/minecraft/class_1324;)V
Some entity attribute docs (#1609) * Some attribute docs * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * has and clarify * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeModifier.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-27 14:45:14 -04:00
COMMENT Copies the values of an attribute to this attribute.
COMMENT
COMMENT <p>Temporary modifiers are copied when using the operation.
ARG 1 other
Some entity attribute docs (#1609) * Some attribute docs * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * has and clarify * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeModifier.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-27 14:45:14 -04:00
METHOD method_26832 (Lnet/minecraft/class_1322$class_1323;Ljava/util/Set;)V
ARG 1 operation
ARG 2 modifiers
METHOD method_26833 readNbt (Lnet/minecraft/class_2487;)V
ARG 1 nbt
METHOD method_26834 getModifiersByOperation (Lnet/minecraft/class_1322$class_1323;)Ljava/util/Collection;
Some entity attribute docs (#1609) * Some attribute docs * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * has and clarify * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeModifier.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-27 14:45:14 -04:00
ARG 1 operation
METHOD method_26835 addTemporaryModifier (Lnet/minecraft/class_1322;)V
Some entity attribute docs (#1609) * Some attribute docs * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * has and clarify * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeModifier.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-27 14:45:14 -04:00
COMMENT Adds a temporary attribute modifier.
COMMENT The modifier will not be serialized.
ARG 1 modifier
Some entity attribute docs (#1609) * Some attribute docs * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * has and clarify * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeModifier.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-27 14:45:14 -04:00
METHOD method_26836 (Lnet/minecraft/class_1322$class_1323;)Ljava/util/Set;
ARG 0 operation
METHOD method_26837 addPersistentModifier (Lnet/minecraft/class_1322;)V
ARG 1 modifier
METHOD method_26838 onUpdate ()V
METHOD method_26839 toNbt ()Lnet/minecraft/class_2487;
METHOD method_26840 computeValue ()D
Some entity attribute docs (#1609) * Some attribute docs * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * has and clarify * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeModifier.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-27 14:45:14 -04:00
COMMENT Computes this attribute's value, taking modifiers into account.
COMMENT
COMMENT <p>Attribute modifiers are applied in order by operation:
COMMENT <ul><li>{@link net.minecraft.entity.attribute.EntityAttributeModifier.Operation#ADDITION ADDITION} // Adds the value of the modifier to the attribute's base value.</li>
COMMENT <li>{@link net.minecraft.entity.attribute.EntityAttributeModifier.Operation#MULTIPLY_BASE MULTIPLY_BASE} // Multiplies the value of the modifier to the attributes base value, and then adds it to the total value.</li>
COMMENT <li>{@link net.minecraft.entity.attribute.EntityAttributeModifier.Operation#MULTIPLY_TOTAL MULTIPLY_TOTAL} // Adds 1 to the value of the attribute modifier. Then multiplies the attribute's value by the total value of the attribute after addition and multiplication of the base value occur.</li>
COMMENT </ul>
METHOD method_27304 tryRemoveModifier (Ljava/util/UUID;)Z
ARG 1 uuid
2019-06-28 17:55:20 -04:00
METHOD method_6192 setBaseValue (D)V
ARG 1 baseValue
2019-08-28 13:46:02 -04:00
METHOD method_6193 getModifiers (Lnet/minecraft/class_1322$class_1323;)Ljava/util/Set;
ARG 1 operation
2019-06-28 17:55:20 -04:00
METHOD method_6194 getValue ()D
2019-08-28 13:46:02 -04:00
METHOD method_6195 getModifiers ()Ljava/util/Set;
2019-06-28 17:55:20 -04:00
METHOD method_6196 hasModifier (Lnet/minecraft/class_1322;)Z
ARG 1 modifier
2019-06-28 17:55:20 -04:00
METHOD method_6197 addModifier (Lnet/minecraft/class_1322;)V
ARG 1 modifier
2019-06-28 17:55:20 -04:00
METHOD method_6198 getAttribute ()Lnet/minecraft/class_1320;
METHOD method_6199 getModifier (Ljava/util/UUID;)Lnet/minecraft/class_1322;
ARG 1 uuid
METHOD method_6200 removeModifier (Ljava/util/UUID;)V
ARG 1 uuid
2019-06-28 17:55:20 -04:00
METHOD method_6201 getBaseValue ()D
Some entity attribute docs (#1609) * Some attribute docs * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeInstance.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * has and clarify * Update mappings/net/minecraft/entity/attribute/ClampedEntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttribute.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/entity/attribute/EntityAttributeModifier.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-27 14:45:14 -04:00
COMMENT Gets the base value of this attribute instance.
COMMENT This is the value before any attribute modifiers are applied.
2019-06-28 17:55:20 -04:00
METHOD method_6202 removeModifier (Lnet/minecraft/class_1322;)V
ARG 1 modifier
2019-06-28 17:55:20 -04:00
METHOD method_6203 clearModifiers ()V