Package net.minecraft.entity.attribute
Class AttributeContainer
java.lang.Object
net.minecraft.entity.attribute.AttributeContainer
- Mappings:
Namespace Name named net/minecraft/entity/attribute/AttributeContainer
intermediary net/minecraft/class_5131
official buw
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map
<RegistryEntry<EntityAttribute>, EntityAttributeInstance> private final DefaultAttributeContainer
private static final Logger
private final Set
<EntityAttributeInstance> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getBaseValue
(RegistryEntry<EntityAttribute> attribute) getCustomInstance
(RegistryEntry<EntityAttribute> attribute) double
getModifierValue
(RegistryEntry<EntityAttribute> attribute, UUID uuid) double
getValue
(RegistryEntry<EntityAttribute> attribute) boolean
hasAttribute
(RegistryEntry<EntityAttribute> attribute) boolean
hasModifierForAttribute
(RegistryEntry<EntityAttribute> attribute, UUID uuid) void
void
setFrom
(AttributeContainer other) toNbt()
private void
updateTrackedStatus
(EntityAttributeInstance instance)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/entity/attribute/AttributeContainer;LOGGER:Lorg/slf4j/Logger;
intermediary field_23708
Lnet/minecraft/class_5131;field_23708:Lorg/slf4j/Logger;
official a
Lbuw;a:Lorg/slf4j/Logger;
-
custom
- Mappings:
Namespace Name Mixin selector named custom
Lnet/minecraft/entity/attribute/AttributeContainer;custom:Ljava/util/Map;
intermediary field_23709
Lnet/minecraft/class_5131;field_23709:Ljava/util/Map;
official b
Lbuw;b:Ljava/util/Map;
-
tracked
- Mappings:
Namespace Name Mixin selector named tracked
Lnet/minecraft/entity/attribute/AttributeContainer;tracked:Ljava/util/Set;
intermediary field_23710
Lnet/minecraft/class_5131;field_23710:Ljava/util/Set;
official c
Lbuw;c:Ljava/util/Set;
-
fallback
- Mappings:
Namespace Name Mixin selector named fallback
Lnet/minecraft/entity/attribute/AttributeContainer;fallback:Lnet/minecraft/entity/attribute/DefaultAttributeContainer;
intermediary field_23711
Lnet/minecraft/class_5131;field_23711:Lnet/minecraft/class_5132;
official d
Lbuw;d:Lbuy;
-
-
Constructor Details
-
AttributeContainer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/attribute/AttributeContainer;<init>(Lnet/minecraft/entity/attribute/DefaultAttributeContainer;)V
intermediary <init>
Lnet/minecraft/class_5131;<init>(Lnet/minecraft/class_5132;)V
official <init>
Lbuw;<init>(Lbuy;)V
-
-
Method Details
-
updateTrackedStatus
- Mappings:
Namespace Name Mixin selector named updateTrackedStatus
Lnet/minecraft/entity/attribute/AttributeContainer;updateTrackedStatus(Lnet/minecraft/entity/attribute/EntityAttributeInstance;)V
intermediary method_26845
Lnet/minecraft/class_5131;method_26845(Lnet/minecraft/class_1324;)V
official a
Lbuw;a(Lbuv;)V
-
getTracked
- Mappings:
Namespace Name Mixin selector named getTracked
Lnet/minecraft/entity/attribute/AttributeContainer;getTracked()Ljava/util/Set;
intermediary method_26841
Lnet/minecraft/class_5131;method_26841()Ljava/util/Set;
official a
Lbuw;a()Ljava/util/Set;
-
getAttributesToSend
- Mappings:
Namespace Name Mixin selector named getAttributesToSend
Lnet/minecraft/entity/attribute/AttributeContainer;getAttributesToSend()Ljava/util/Collection;
intermediary method_26851
Lnet/minecraft/class_5131;method_26851()Ljava/util/Collection;
official b
Lbuw;b()Ljava/util/Collection;
-
getCustomInstance
@Nullable public @Nullable EntityAttributeInstance getCustomInstance(RegistryEntry<EntityAttribute> attribute) - Mappings:
Namespace Name Mixin selector named getCustomInstance
Lnet/minecraft/entity/attribute/AttributeContainer;getCustomInstance(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
intermediary method_45329
Lnet/minecraft/class_5131;method_45329(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1324;
official a
Lbuw;a(Lji;)Lbuv;
-
hasAttribute
- Mappings:
Namespace Name Mixin selector named hasAttribute
Lnet/minecraft/entity/attribute/AttributeContainer;hasAttribute(Lnet/minecraft/registry/entry/RegistryEntry;)Z
intermediary method_45331
Lnet/minecraft/class_5131;method_45331(Lnet/minecraft/class_6880;)Z
official b
Lbuw;b(Lji;)Z
-
hasModifierForAttribute
- Mappings:
Namespace Name Mixin selector named hasModifierForAttribute
Lnet/minecraft/entity/attribute/AttributeContainer;hasModifierForAttribute(Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/UUID;)Z
intermediary method_45330
Lnet/minecraft/class_5131;method_45330(Lnet/minecraft/class_6880;Ljava/util/UUID;)Z
official a
Lbuw;a(Lji;Ljava/util/UUID;)Z
-
getValue
- Mappings:
Namespace Name Mixin selector named getValue
Lnet/minecraft/entity/attribute/AttributeContainer;getValue(Lnet/minecraft/registry/entry/RegistryEntry;)D
intermediary method_26852
Lnet/minecraft/class_5131;method_26852(Lnet/minecraft/class_6880;)D
official c
Lbuw;c(Lji;)D
-
getBaseValue
- Mappings:
Namespace Name Mixin selector named getBaseValue
Lnet/minecraft/entity/attribute/AttributeContainer;getBaseValue(Lnet/minecraft/registry/entry/RegistryEntry;)D
intermediary method_26856
Lnet/minecraft/class_5131;method_26856(Lnet/minecraft/class_6880;)D
official d
Lbuw;d(Lji;)D
-
getModifierValue
- Mappings:
Namespace Name Mixin selector named getModifierValue
Lnet/minecraft/entity/attribute/AttributeContainer;getModifierValue(Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/UUID;)D
intermediary method_45332
Lnet/minecraft/class_5131;method_45332(Lnet/minecraft/class_6880;Ljava/util/UUID;)D
official b
Lbuw;b(Lji;Ljava/util/UUID;)D
-
setFrom
- Mappings:
Namespace Name Mixin selector named setFrom
Lnet/minecraft/entity/attribute/AttributeContainer;setFrom(Lnet/minecraft/entity/attribute/AttributeContainer;)V
intermediary method_26846
Lnet/minecraft/class_5131;method_26846(Lnet/minecraft/class_5131;)V
official a
Lbuw;a(Lbuw;)V
-
toNbt
- Mappings:
Namespace Name Mixin selector named toNbt
Lnet/minecraft/entity/attribute/AttributeContainer;toNbt()Lnet/minecraft/nbt/NbtList;
intermediary method_26855
Lnet/minecraft/class_5131;method_26855()Lnet/minecraft/class_2499;
official c
Lbuw;c()Luy;
-
readNbt
- Mappings:
Namespace Name Mixin selector named readNbt
Lnet/minecraft/entity/attribute/AttributeContainer;readNbt(Lnet/minecraft/nbt/NbtList;)V
intermediary method_26850
Lnet/minecraft/class_5131;method_26850(Lnet/minecraft/class_2499;)V
official a
Lbuw;a(Luy;)V
-