Uses of Class
net.minecraft.entity.attribute.EntityAttribute
Packages that use EntityAttribute
Package
Description
-
Uses of EntityAttribute in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return types with arguments of type EntityAttributeModifier and TypeMethodDescriptionRegistryEntryArgumentType.getEntityAttribute(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of EntityAttribute in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type EntityAttributeModifier and TypeMethodDescriptiondoubleLivingEntity.getAttributeBaseValue(EntityAttribute attribute) LivingEntity.getAttributeInstance(EntityAttribute attribute) doubleLivingEntity.getAttributeValue(EntityAttribute attribute) Method parameters in net.minecraft.entity with type arguments of type EntityAttributeModifier and TypeMethodDescriptiondoubleLivingEntity.getAttributeBaseValue(RegistryEntry<EntityAttribute> attribute) doubleLivingEntity.getAttributeValue(RegistryEntry<EntityAttribute> attribute) -
Uses of EntityAttribute in net.minecraft.entity.attribute
Subclasses of EntityAttribute in net.minecraft.entity.attributeModifier and TypeClassDescriptionclassRepresents a type of attribute with minimum and maximum value limits.Fields in net.minecraft.entity.attribute declared as EntityAttributeModifier and TypeFieldDescriptionstatic final EntityAttributeEntityAttributes.GENERIC_ARMORstatic final EntityAttributeEntityAttributes.GENERIC_ARMOR_TOUGHNESSstatic final EntityAttributeEntityAttributes.GENERIC_ATTACK_DAMAGEstatic final EntityAttributeEntityAttributes.GENERIC_ATTACK_KNOCKBACKstatic final EntityAttributeEntityAttributes.GENERIC_ATTACK_SPEEDstatic final EntityAttributeEntityAttributes.GENERIC_FLYING_SPEEDstatic final EntityAttributeEntityAttributes.GENERIC_FOLLOW_RANGEstatic final EntityAttributeEntityAttributes.GENERIC_KNOCKBACK_RESISTANCEstatic final EntityAttributeEntityAttributes.GENERIC_LUCKstatic final EntityAttributeEntityAttributes.GENERIC_MAX_HEALTHstatic final EntityAttributeEntityAttributes.GENERIC_MOVEMENT_SPEEDstatic final EntityAttributeEntityAttributes.HORSE_JUMP_STRENGTHprivate final EntityAttributeEntityAttributeInstance.typestatic final EntityAttributeEntityAttributes.ZOMBIE_SPAWN_REINFORCEMENTSFields in net.minecraft.entity.attribute with type parameters of type EntityAttributeModifier and TypeFieldDescriptionprivate final Map<EntityAttribute,EntityAttributeInstance> AttributeContainer.customprivate final Map<EntityAttribute,EntityAttributeInstance> DefaultAttributeContainer.Builder.instancesprivate final Map<EntityAttribute,EntityAttributeInstance> DefaultAttributeContainer.instancesMethods in net.minecraft.entity.attribute that return EntityAttributeModifier and TypeMethodDescriptionEntityAttributeInstance.getAttribute()private static EntityAttributeEntityAttributes.register(String id, EntityAttribute attribute) EntityAttribute.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 EntityAttributeModifier and TypeMethodDescriptionDefaultAttributeContainer.Builder.add(EntityAttribute attribute) DefaultAttributeContainer.Builder.add(EntityAttribute attribute, double baseValue) private EntityAttributeInstanceDefaultAttributeContainer.Builder.checkedAdd(EntityAttribute attribute) DefaultAttributeContainer.createOverride(Consumer<EntityAttributeInstance> updateCallback, EntityAttribute attribute) doubleAttributeContainer.getBaseValue(EntityAttribute attribute) doubleDefaultAttributeContainer.getBaseValue(EntityAttribute attribute) AttributeContainer.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 EntityAttributeModifier and TypeMethodDescriptionvoidAttributeContainer.addTemporaryModifiers(Multimap<EntityAttribute, EntityAttributeModifier> attributeModifiers) AttributeContainer.getCustomInstance(RegistryEntry<EntityAttribute> attribute) doubleAttributeContainer.getModifierValue(RegistryEntry<EntityAttribute> attribute, UUID uuid) booleanAttributeContainer.hasAttribute(RegistryEntry<EntityAttribute> attribute) booleanAttributeContainer.hasModifierForAttribute(RegistryEntry<EntityAttribute> attribute, UUID uuid) voidAttributeContainer.removeModifiers(Multimap<EntityAttribute, EntityAttributeModifier> attributeModifiers) Constructors in net.minecraft.entity.attribute with parameters of type EntityAttributeModifierConstructorDescriptionEntityAttributeInstance(EntityAttribute type, Consumer<EntityAttributeInstance> updateCallback) Constructor parameters in net.minecraft.entity.attribute with type arguments of type EntityAttributeModifierConstructorDescription -
Uses of EntityAttribute in net.minecraft.entity.effect
Fields in net.minecraft.entity.effect with type parameters of type EntityAttributeModifier and TypeFieldDescriptionprivate final Map<EntityAttribute,EntityAttributeModifier> StatusEffect.attributeModifiersMethods in net.minecraft.entity.effect that return types with arguments of type EntityAttributeMethods in net.minecraft.entity.effect with parameters of type EntityAttributeModifier and TypeMethodDescriptionStatusEffect.addAttributeModifier(EntityAttribute attribute, String uuid, double amount, EntityAttributeModifier.Operation operation) -
Uses of EntityAttribute in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type EntityAttributeModifier and TypeMethodDescriptionprivate voidAbstractHorseEntity.setChildAttribute(PassiveEntity other, AbstractHorseEntity child, EntityAttribute attribute, double min, double max) -
Uses of EntityAttribute in net.minecraft.item
Fields in net.minecraft.item with type parameters of type EntityAttributeModifier and TypeFieldDescriptionprivate final Multimap<EntityAttribute,EntityAttributeModifier> ArmorItem.attributeModifiersprivate final Multimap<EntityAttribute,EntityAttributeModifier> MiningToolItem.attributeModifiersprivate final Multimap<EntityAttribute,EntityAttributeModifier> SwordItem.attributeModifiersprivate final Multimap<EntityAttribute,EntityAttributeModifier> TridentItem.attributeModifiersMethods in net.minecraft.item that return types with arguments of type EntityAttributeModifier and TypeMethodDescriptionArmorItem.getAttributeModifiers(EquipmentSlot slot) Returns the attribute modifiers the item provides.Item.getAttributeModifiers(EquipmentSlot slot) Returns the attribute modifiers the item provides.ItemStack.getAttributeModifiers(EquipmentSlot slot) Returns a multimap of attribute modifiers forslot.MiningToolItem.getAttributeModifiers(EquipmentSlot slot) Returns the attribute modifiers the item provides.SwordItem.getAttributeModifiers(EquipmentSlot slot) Returns the attribute modifiers the item provides.TridentItem.getAttributeModifiers(EquipmentSlot slot) Returns the attribute modifiers the item provides.Methods in net.minecraft.item with parameters of type EntityAttributeModifier and TypeMethodDescriptionvoidItemStack.addAttributeModifier(EntityAttribute attribute, EntityAttributeModifier modifier, @Nullable EquipmentSlot slot) Adds an attribute modifier to this stack. -
Uses of EntityAttribute in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as EntityAttributeModifier and TypeFieldDescription(package private) final EntityAttributeSetAttributesLootFunction.Attribute.attributeprivate final EntityAttributeSetAttributesLootFunction.AttributeBuilder.attributeMethods in net.minecraft.loot.function with parameters of type EntityAttributeModifier and TypeMethodDescriptionSetAttributesLootFunction.attributeBuilder(String name, EntityAttribute attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amountRange) Constructors in net.minecraft.loot.function with parameters of type EntityAttributeModifierConstructorDescription(package private)Attribute(String name, EntityAttribute attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount, EquipmentSlot[] slots, @Nullable UUID id) AttributeBuilder(String name, EntityAttribute attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount) -
Uses of EntityAttribute in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as EntityAttributeModifier and TypeFieldDescriptionprivate final EntityAttributeEntityAttributesS2CPacket.Entry.attributeMethods in net.minecraft.network.packet.s2c.play that return EntityAttributeConstructors in net.minecraft.network.packet.s2c.play with parameters of type EntityAttributeModifierConstructorDescriptionEntry(EntityAttribute attribute, double baseValue, Collection<EntityAttributeModifier> modifiers) -
Uses of EntityAttribute in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type EntityAttributeModifier and TypeFieldDescriptionstatic final Registry<EntityAttribute>Registries.ATTRIBUTEstatic final RegistryKey<Registry<EntityAttribute>>RegistryKeys.ATTRIBUTE -
Uses of EntityAttribute in net.minecraft.server.command
Method parameters in net.minecraft.server.command with type arguments of type EntityAttributeModifier and TypeMethodDescriptionprivate static intAttributeCommand.executeBaseValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double multiplier) private static intAttributeCommand.executeBaseValueSet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double value) private static intAttributeCommand.executeModifierAdd(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, UUID uuid, String name, double value, EntityAttributeModifier.Operation operation) private static intAttributeCommand.executeModifierRemove(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, UUID uuid) private static intAttributeCommand.executeModifierValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, UUID uuid, double multiplier) private static intAttributeCommand.executeValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, double multiplier) private static EntityAttributeInstanceAttributeCommand.getAttributeInstance(Entity entity, RegistryEntry<EntityAttribute> attribute) private static LivingEntityAttributeCommand.getLivingEntityWithAttribute(Entity entity, RegistryEntry<EntityAttribute> attribute) private static TextAttributeCommand.getName(RegistryEntry<EntityAttribute> attribute)