Uses of Class
net.minecraft.entity.attribute.EntityAttribute
-
Uses of EntityAttribute in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return EntityAttribute Modifier and Type Method Description static EntityAttributeIdentifierArgumentType. getAttributeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName) -
Uses of EntityAttribute in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type EntityAttribute Modifier and Type Method Description doubleLivingEntity. getAttributeBaseValue(EntityAttribute attribute)@Nullable EntityAttributeInstanceLivingEntity. getAttributeInstance(EntityAttribute attribute)doubleLivingEntity. getAttributeValue(EntityAttribute attribute) -
Uses of EntityAttribute in net.minecraft.entity.attribute
Subclasses of EntityAttribute in net.minecraft.entity.attribute Modifier and Type Class Description classClampedEntityAttributeRepresents a type of attribute with minimum and maximum value limits.Fields in net.minecraft.entity.attribute declared as EntityAttribute Modifier and Type Field Description static EntityAttributeEntityAttributes. GENERIC_ARMORstatic EntityAttributeEntityAttributes. GENERIC_ARMOR_TOUGHNESSstatic EntityAttributeEntityAttributes. GENERIC_ATTACK_DAMAGEstatic EntityAttributeEntityAttributes. GENERIC_ATTACK_KNOCKBACKstatic EntityAttributeEntityAttributes. GENERIC_ATTACK_SPEEDstatic EntityAttributeEntityAttributes. GENERIC_FLYING_SPEEDstatic EntityAttributeEntityAttributes. GENERIC_FOLLOW_RANGEstatic EntityAttributeEntityAttributes. GENERIC_KNOCKBACK_RESISTANCEstatic EntityAttributeEntityAttributes. GENERIC_LUCKstatic EntityAttributeEntityAttributes. GENERIC_MAX_HEALTHstatic EntityAttributeEntityAttributes. GENERIC_MOVEMENT_SPEEDstatic EntityAttributeEntityAttributes. HORSE_JUMP_STRENGTHprivate EntityAttributeEntityAttributeInstance. typestatic EntityAttributeEntityAttributes. ZOMBIE_SPAWN_REINFORCEMENTSFields in net.minecraft.entity.attribute with type parameters of type EntityAttribute Modifier and Type Field Description private Map<EntityAttribute,EntityAttributeInstance>AttributeContainer. customprivate Map<EntityAttribute,EntityAttributeInstance>DefaultAttributeContainer.Builder. instancesprivate Map<EntityAttribute,EntityAttributeInstance>DefaultAttributeContainer. instancesMethods in net.minecraft.entity.attribute that return EntityAttribute Modifier and Type Method Description EntityAttributeEntityAttributeInstance. getAttribute()private static EntityAttributeEntityAttributes. register(String id, EntityAttribute attribute)EntityAttributeEntityAttribute. setTracked(boolean tracked)Sets all instances of this attribute to synchronize their values to clients.Methods in net.minecraft.entity.attribute with parameters of type EntityAttribute Modifier and Type Method Description DefaultAttributeContainer.BuilderDefaultAttributeContainer.Builder. add(EntityAttribute attribute)DefaultAttributeContainer.BuilderDefaultAttributeContainer.Builder. add(EntityAttribute attribute, double baseValue)private EntityAttributeInstanceDefaultAttributeContainer.Builder. checkedAdd(EntityAttribute attribute)@Nullable EntityAttributeInstanceDefaultAttributeContainer. createOverride(Consumer<EntityAttributeInstance> updateCallback, EntityAttribute attribute)doubleAttributeContainer. getBaseValue(EntityAttribute attribute)doubleDefaultAttributeContainer. getBaseValue(EntityAttribute attribute)@Nullable EntityAttributeInstanceAttributeContainer. getCustomInstance(EntityAttribute attribute)doubleAttributeContainer. getModifierValue(EntityAttribute attribute, UUID uuid)doubleDefaultAttributeContainer. getModifierValue(EntityAttribute attribute, UUID uuid)doubleAttributeContainer. getValue(EntityAttribute attribute)doubleDefaultAttributeContainer. getValue(EntityAttribute attribute)booleanDefaultAttributeContainer. has(EntityAttribute type)booleanAttributeContainer. hasAttribute(EntityAttribute attribute)booleanDefaultAttributeContainer. hasModifier(EntityAttribute type, UUID uuid)booleanAttributeContainer. hasModifierForAttribute(EntityAttribute attribute, UUID uuid)private static EntityAttributeEntityAttributes. register(String id, EntityAttribute attribute)private EntityAttributeInstanceDefaultAttributeContainer. require(EntityAttribute attribute)Method parameters in net.minecraft.entity.attribute with type arguments of type EntityAttribute Modifier and Type Method Description voidAttributeContainer. addTemporaryModifiers(Multimap<EntityAttribute,EntityAttributeModifier> attributeModifiers)voidAttributeContainer. removeModifiers(Multimap<EntityAttribute,EntityAttributeModifier> attributeModifiers)Constructors in net.minecraft.entity.attribute with parameters of type EntityAttribute Constructor Description EntityAttributeInstance(EntityAttribute type, Consumer<EntityAttributeInstance> updateCallback)Constructor parameters in net.minecraft.entity.attribute with type arguments of type EntityAttribute Constructor Description DefaultAttributeContainer(Map<EntityAttribute,EntityAttributeInstance> instances) -
Uses of EntityAttribute in net.minecraft.entity.effect
Fields in net.minecraft.entity.effect with type parameters of type EntityAttribute Modifier and Type Field Description private Map<EntityAttribute,EntityAttributeModifier>StatusEffect. attributeModifiersMethods in net.minecraft.entity.effect that return types with arguments of type EntityAttribute Modifier and Type Method Description Map<EntityAttribute,EntityAttributeModifier>StatusEffect. getAttributeModifiers()Methods in net.minecraft.entity.effect with parameters of type EntityAttribute Modifier and Type Method Description StatusEffectStatusEffect. addAttributeModifier(EntityAttribute attribute, String uuid, double amount, EntityAttributeModifier.Operation operation) -
Uses of EntityAttribute in net.minecraft.item
Fields in net.minecraft.item with type parameters of type EntityAttribute Modifier and Type Field Description private Multimap<EntityAttribute,EntityAttributeModifier>ArmorItem. attributeModifiersprivate Multimap<EntityAttribute,EntityAttributeModifier>MiningToolItem. attributeModifiersprivate Multimap<EntityAttribute,EntityAttributeModifier>SwordItem. attributeModifiersprivate Multimap<EntityAttribute,EntityAttributeModifier>TridentItem. attributeModifiersMethods in net.minecraft.item that return types with arguments of type EntityAttribute Modifier and Type Method Description Multimap<EntityAttribute,EntityAttributeModifier>ArmorItem. getAttributeModifiers(EquipmentSlot slot)Multimap<EntityAttribute,EntityAttributeModifier>Item. getAttributeModifiers(EquipmentSlot slot)Multimap<EntityAttribute,EntityAttributeModifier>ItemStack. getAttributeModifiers(EquipmentSlot slot)Multimap<EntityAttribute,EntityAttributeModifier>MiningToolItem. getAttributeModifiers(EquipmentSlot slot)Multimap<EntityAttribute,EntityAttributeModifier>SwordItem. getAttributeModifiers(EquipmentSlot slot)Multimap<EntityAttribute,EntityAttributeModifier>TridentItem. getAttributeModifiers(EquipmentSlot slot)Methods in net.minecraft.item with parameters of type EntityAttribute Modifier and Type Method Description voidItemStack. addAttributeModifier(EntityAttribute attribute, EntityAttributeModifier modifier, @Nullable EquipmentSlot slot) -
Uses of EntityAttribute in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as EntityAttribute Modifier and Type Field Description private EntityAttributeSetAttributesLootFunction.Attribute. attributeprivate EntityAttributeSetAttributesLootFunction.class_6156. field_31857Methods in net.minecraft.loot.function with parameters of type EntityAttribute Modifier and Type Method Description static SetAttributesLootFunction.class_6156SetAttributesLootFunction. method_35524(String string, EntityAttribute entityAttribute, EntityAttributeModifier.Operation operation, LootNumberProvider lootNumberProvider)Constructors in net.minecraft.loot.function with parameters of type EntityAttribute Constructor Description Attribute(String name, EntityAttribute attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amountRange, EquipmentSlot[] slots, @Nullable UUID id)class_6156(String string, EntityAttribute entityAttribute, EntityAttributeModifier.Operation operation, LootNumberProvider lootNumberProvider) -
Uses of EntityAttribute in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as EntityAttribute Modifier and Type Field Description private EntityAttributeEntityAttributesS2CPacket.Entry. attributeMethods in net.minecraft.network.packet.s2c.play that return EntityAttribute Modifier and Type Method Description EntityAttributeEntityAttributesS2CPacket.Entry. getId()Constructors in net.minecraft.network.packet.s2c.play with parameters of type EntityAttribute Constructor Description Entry(EntityAttribute attribute, double baseValue, Collection<EntityAttributeModifier> modifiers) -
Uses of EntityAttribute in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type EntityAttribute Modifier and Type Method Description private static intAttributeCommand. executeBaseValueGet(ServerCommandSource source, Entity target, EntityAttribute attribute, double multiplier)private static intAttributeCommand. executeBaseValueSet(ServerCommandSource source, Entity target, EntityAttribute attribute, double value)private static intAttributeCommand. executeModifierAdd(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid, String name, double value, EntityAttributeModifier.Operation operation)private static intAttributeCommand. executeModifierRemove(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid)private static intAttributeCommand. executeModifierValueGet(ServerCommandSource source, Entity target, EntityAttribute attribute, UUID uuid, double multiplier)private static intAttributeCommand. executeValueGet(ServerCommandSource source, Entity target, EntityAttribute attribute, double multiplier)private static EntityAttributeInstanceAttributeCommand. getAttributeInstance(Entity entity, EntityAttribute attribute)private static LivingEntityAttributeCommand. getLivingEntityWithAttribute(Entity entity, EntityAttribute attribute) -
Uses of EntityAttribute in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type EntityAttribute Modifier and Type Field Description static Registry<EntityAttribute>Registry. ATTRIBUTEstatic RegistryKey<Registry<EntityAttribute>>Registry. ATTRIBUTE_KEY