Uses of Class
net.minecraft.entity.attribute.EntityAttribute
Packages that use EntityAttribute
Package
Description
- 
Uses of EntityAttribute in net.minecraft.command.argumentMethods in net.minecraft.command.argument that return types with arguments of type EntityAttributeModifier and TypeMethodDescriptionRegistryEntryReferenceArgumentType.getEntityAttribute(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) 
- 
Uses of EntityAttribute in net.minecraft.component.typeFields in net.minecraft.component.type with type parameters of type EntityAttributeModifier and TypeFieldDescriptionprivate final RegistryEntry<EntityAttribute> AttributeModifiersComponent.Entry.attributeThe field for theattributerecord component.Methods in net.minecraft.component.type that return types with arguments of type EntityAttributeModifier and TypeMethodDescriptionAttributeModifiersComponent.Entry.attribute()Returns the value of theattributerecord component.Method parameters in net.minecraft.component.type with type arguments of type EntityAttributeModifier and TypeMethodDescriptionAttributeModifiersComponent.Builder.add(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot) voidAttributeModifiersComponent.applyModifiers(AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeConsumer) voidAttributeModifiersComponent.applyModifiers(EquipmentSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeConsumer) booleanAttributeModifiersComponent.Entry.matches(RegistryEntry<EntityAttribute> attribute, Identifier modifierId) AttributeModifiersComponent.with(RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier, AttributeModifierSlot slot) Constructor parameters in net.minecraft.component.type with type arguments of type EntityAttributeModifierConstructorDescriptionEntry(RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier entityAttributeModifier, AttributeModifierSlot attributeModifierSlot) 
- 
Uses of EntityAttribute in net.minecraft.enchantmentMethod parameters in net.minecraft.enchantment with type arguments of type EntityAttributeModifier and TypeMethodDescriptionstatic voidEnchantmentHelper.applyAttributeModifiers(ItemStack stack, AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) static voidEnchantmentHelper.applyAttributeModifiers(ItemStack stack, EquipmentSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) 
- 
Uses of EntityAttribute in net.minecraft.enchantment.effectFields in net.minecraft.enchantment.effect with type parameters of type EntityAttributeModifier and TypeFieldDescriptionprivate final RegistryEntry<EntityAttribute> AttributeEnchantmentEffect.attributeThe field for theattributerecord component.Methods in net.minecraft.enchantment.effect that return types with arguments of type EntityAttributeModifier and TypeMethodDescriptionAttributeEnchantmentEffect.attribute()Returns the value of theattributerecord component.AttributeEnchantmentEffect.getModifiers(int level, EquipmentSlot slot) Constructor parameters in net.minecraft.enchantment.effect with type arguments of type EntityAttributeModifierConstructorDescriptionAttributeEnchantmentEffect(Identifier identifier, RegistryEntry<EntityAttribute> registryEntry, EnchantmentLevelBasedValue enchantmentLevelBasedValue, EntityAttributeModifier.Operation operation) 
- 
Uses of EntityAttribute in net.minecraft.entityMethod parameters in net.minecraft.entity with type arguments of type EntityAttributeModifier and TypeMethodDescriptiondoubleLivingEntity.getAttributeBaseValue(RegistryEntry<EntityAttribute> attribute) LivingEntity.getAttributeInstance(RegistryEntry<EntityAttribute> attribute) doubleLivingEntity.getAttributeValue(RegistryEntry<EntityAttribute> attribute) protected voidLivingEntity.updateAttribute(RegistryEntry<EntityAttribute> attribute) 
- 
Uses of EntityAttribute in net.minecraft.entity.attributeSubclasses 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 with type parameters of type EntityAttributeModifier and TypeFieldDescriptionstatic final RegistryEntry<EntityAttribute> EntityAttributes.ARMORstatic final RegistryEntry<EntityAttribute> EntityAttributes.ARMOR_TOUGHNESSstatic final RegistryEntry<EntityAttribute> EntityAttributes.ATTACK_DAMAGEstatic final RegistryEntry<EntityAttribute> EntityAttributes.ATTACK_KNOCKBACKstatic final RegistryEntry<EntityAttribute> EntityAttributes.ATTACK_SPEEDstatic final RegistryEntry<EntityAttribute> EntityAttributes.BLOCK_BREAK_SPEEDstatic final RegistryEntry<EntityAttribute> EntityAttributes.BLOCK_INTERACTION_RANGEstatic final RegistryEntry<EntityAttribute> EntityAttributes.BURNING_TIMEstatic final com.mojang.serialization.Codec<RegistryEntry<EntityAttribute>> EntityAttribute.CODECprivate final Map<RegistryEntry<EntityAttribute>, EntityAttributeInstance> AttributeContainer.customstatic final RegistryEntry<EntityAttribute> EntityAttributes.ENTITY_INTERACTION_RANGEstatic final RegistryEntry<EntityAttribute> EntityAttributes.EXPLOSION_KNOCKBACK_RESISTANCEstatic final RegistryEntry<EntityAttribute> EntityAttributes.FALL_DAMAGE_MULTIPLIERstatic final RegistryEntry<EntityAttribute> EntityAttributes.FLYING_SPEEDstatic final RegistryEntry<EntityAttribute> EntityAttributes.FOLLOW_RANGEstatic final RegistryEntry<EntityAttribute> EntityAttributes.GRAVITYprivate final ImmutableMap.Builder<RegistryEntry<EntityAttribute>, EntityAttributeInstance> DefaultAttributeContainer.Builder.instancesprivate final Map<RegistryEntry<EntityAttribute>, EntityAttributeInstance> DefaultAttributeContainer.instancesstatic final RegistryEntry<EntityAttribute> EntityAttributes.JUMP_STRENGTHstatic final RegistryEntry<EntityAttribute> EntityAttributes.KNOCKBACK_RESISTANCEstatic final RegistryEntry<EntityAttribute> EntityAttributes.LUCKstatic final RegistryEntry<EntityAttribute> EntityAttributes.MAX_ABSORPTIONstatic final RegistryEntry<EntityAttribute> EntityAttributes.MAX_HEALTHstatic final RegistryEntry<EntityAttribute> EntityAttributes.MINING_EFFICIENCYstatic final RegistryEntry<EntityAttribute> EntityAttributes.MOVEMENT_EFFICIENCYstatic final RegistryEntry<EntityAttribute> EntityAttributes.MOVEMENT_SPEEDstatic final RegistryEntry<EntityAttribute> EntityAttributes.OXYGEN_BONUSstatic final PacketCodec<RegistryByteBuf, RegistryEntry<EntityAttribute>> EntityAttribute.PACKET_CODECstatic final RegistryEntry<EntityAttribute> EntityAttributes.SAFE_FALL_DISTANCEstatic final RegistryEntry<EntityAttribute> EntityAttributes.SCALEstatic final RegistryEntry<EntityAttribute> EntityAttributes.SNEAKING_SPEEDstatic final RegistryEntry<EntityAttribute> EntityAttributes.SPAWN_REINFORCEMENTSstatic final RegistryEntry<EntityAttribute> EntityAttributes.STEP_HEIGHTstatic final RegistryEntry<EntityAttribute> EntityAttributes.SUBMERGED_MINING_SPEEDstatic final RegistryEntry<EntityAttribute> EntityAttributes.SWEEPING_DAMAGE_RATIOstatic final RegistryEntry<EntityAttribute> EntityAttributes.TEMPT_RANGEprivate final RegistryEntry<EntityAttribute> EntityAttributeInstance.typestatic final RegistryEntry<EntityAttribute> EntityAttributes.WATER_MOVEMENT_EFFICIENCYMethods in net.minecraft.entity.attribute that return EntityAttributeModifier and TypeMethodDescriptionEntityAttribute.setCategory(EntityAttribute.Category category) EntityAttribute.setTracked(boolean tracked) Sets all instances of this attribute to synchronize their values to clients.Methods in net.minecraft.entity.attribute that return types with arguments of type EntityAttributeModifier and TypeMethodDescriptionEntityAttributeInstance.getAttribute()private static RegistryEntry<EntityAttribute> EntityAttributes.register(String id, EntityAttribute attribute) static RegistryEntry<EntityAttribute> EntityAttributes.registerAndGetDefault(Registry<EntityAttribute> registry) Methods in net.minecraft.entity.attribute with parameters of type EntityAttributeModifier and TypeMethodDescriptionprivate static RegistryEntry<EntityAttribute> EntityAttributes.register(String id, EntityAttribute attribute) Method parameters in net.minecraft.entity.attribute with type arguments of type EntityAttributeModifier and TypeMethodDescriptionDefaultAttributeContainer.Builder.add(RegistryEntry<EntityAttribute> attribute) DefaultAttributeContainer.Builder.add(RegistryEntry<EntityAttribute> attribute, double baseValue) voidAttributeContainer.addTemporaryModifiers(Multimap<RegistryEntry<EntityAttribute>, EntityAttributeModifier> modifiersMap) private EntityAttributeInstanceDefaultAttributeContainer.Builder.checkedAdd(RegistryEntry<EntityAttribute> attribute) DefaultAttributeContainer.createOverride(Consumer<EntityAttributeInstance> updateCallback, RegistryEntry<EntityAttribute> attribute) doubleAttributeContainer.getBaseValue(RegistryEntry<EntityAttribute> attribute) doubleDefaultAttributeContainer.getBaseValue(RegistryEntry<EntityAttribute> attribute) AttributeContainer.getCustomInstance(RegistryEntry<EntityAttribute> attribute) doubleAttributeContainer.getModifierValue(RegistryEntry<EntityAttribute> attribute, Identifier id) doubleDefaultAttributeContainer.getModifierValue(RegistryEntry<EntityAttribute> attribute, Identifier id) doubleAttributeContainer.getValue(RegistryEntry<EntityAttribute> attribute) doubleDefaultAttributeContainer.getValue(RegistryEntry<EntityAttribute> attribute) booleanDefaultAttributeContainer.has(RegistryEntry<EntityAttribute> attribute) booleanAttributeContainer.hasAttribute(RegistryEntry<EntityAttribute> attribute) booleanDefaultAttributeContainer.hasModifier(RegistryEntry<EntityAttribute> attribute, Identifier id) booleanAttributeContainer.hasModifierForAttribute(RegistryEntry<EntityAttribute> attribute, Identifier id) static RegistryEntry<EntityAttribute> EntityAttributes.registerAndGetDefault(Registry<EntityAttribute> registry) voidAttributeContainer.removeModifiers(Multimap<RegistryEntry<EntityAttribute>, EntityAttributeModifier> modifiersMap) private EntityAttributeInstanceDefaultAttributeContainer.require(RegistryEntry<EntityAttribute> attribute) booleanAttributeContainer.resetToBaseValue(RegistryEntry<EntityAttribute> attribute) Constructor parameters in net.minecraft.entity.attribute with type arguments of type EntityAttributeModifierConstructorDescription(package private)EntityAttributeInstance(RegistryEntry<EntityAttribute> type, Consumer<EntityAttributeInstance> updateCallback) 
- 
Uses of EntityAttribute in net.minecraft.entity.effectFields in net.minecraft.entity.effect with type parameters of type EntityAttributeModifier and TypeFieldDescriptionprivate final Map<RegistryEntry<EntityAttribute>, StatusEffect.EffectAttributeModifierCreator> StatusEffect.attributeModifiersMethod parameters in net.minecraft.entity.effect with type arguments of type EntityAttributeModifier and TypeMethodDescriptionStatusEffect.addAttributeModifier(RegistryEntry<EntityAttribute> attribute, Identifier id, double amount, EntityAttributeModifier.Operation operation) voidStatusEffect.forEachAttributeModifier(int amplifier, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> consumer) 
- 
Uses of EntityAttribute in net.minecraft.entity.mobMethod parameters in net.minecraft.entity.mob with type arguments of type EntityAttributeModifier and TypeMethodDescriptionprivate doubleMobEntity.getAttributeValueWithStack(ItemStack stack, RegistryEntry<EntityAttribute> attribute, EquipmentSlot slot) protected voidMobEntity.updateAttribute(RegistryEntry<EntityAttribute> attribute) 
- 
Uses of EntityAttribute in net.minecraft.entity.passiveMethod parameters in net.minecraft.entity.passive with type arguments of type EntityAttributeModifier and TypeMethodDescriptionprivate voidAbstractHorseEntity.setChildAttribute(PassiveEntity other, AbstractHorseEntity child, RegistryEntry<EntityAttribute> attribute, double min, double max) 
- 
Uses of EntityAttribute in net.minecraft.itemMethod parameters in net.minecraft.item with type arguments of type EntityAttributeModifier and TypeMethodDescriptionprivate voidItemStack.appendAttributeModifierTooltip(Consumer<Text> textConsumer, @Nullable PlayerEntity player, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier modifier) voidItemStack.applyAttributeModifier(AttributeModifierSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) voidItemStack.applyAttributeModifiers(EquipmentSlot slot, BiConsumer<RegistryEntry<EntityAttribute>, EntityAttributeModifier> attributeModifierConsumer) 
- 
Uses of EntityAttribute in net.minecraft.loot.functionFields in net.minecraft.loot.function with type parameters of type EntityAttributeModifier and TypeFieldDescriptionprivate final RegistryEntry<EntityAttribute> SetAttributesLootFunction.Attribute.attributeThe field for theattributerecord component.private final RegistryEntry<EntityAttribute> SetAttributesLootFunction.AttributeBuilder.attributeMethods in net.minecraft.loot.function that return types with arguments of type EntityAttributeModifier and TypeMethodDescriptionSetAttributesLootFunction.Attribute.attribute()Returns the value of theattributerecord component.Method parameters in net.minecraft.loot.function with type arguments of type EntityAttributeModifier and TypeMethodDescriptionSetAttributesLootFunction.attributeBuilder(Identifier id, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amountRange) Constructor parameters in net.minecraft.loot.function with type arguments of type EntityAttributeModifierConstructorDescription(package private)Attribute(Identifier identifier, RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier.Operation operation, LootNumberProvider amount, List<AttributeModifierSlot> list) AttributeBuilder(Identifier id, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount) 
- 
Uses of EntityAttribute in net.minecraft.network.packet.s2c.playFields in net.minecraft.network.packet.s2c.play with type parameters of type EntityAttributeModifier and TypeFieldDescriptionprivate final RegistryEntry<EntityAttribute> EntityAttributesS2CPacket.Entry.attributeThe field for theattributerecord component.Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type EntityAttributeModifier and TypeMethodDescriptionEntityAttributesS2CPacket.Entry.attribute()Returns the value of theattributerecord component.Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type EntityAttributeModifierConstructorDescriptionEntry(RegistryEntry<EntityAttribute> registryEntry, double baseValue, Collection<EntityAttributeModifier> modifiers) 
- 
Uses of EntityAttribute in net.minecraft.predicate.itemFields in net.minecraft.predicate.item with type parameters of type EntityAttributeModifier and TypeFieldDescriptionprivate final Optional<RegistryEntryList<EntityAttribute>> AttributeModifiersPredicate.AttributeModifierPredicate.attributeThe field for theattributerecord component.Methods in net.minecraft.predicate.item that return types with arguments of type EntityAttributeModifier and TypeMethodDescriptionAttributeModifiersPredicate.AttributeModifierPredicate.attribute()Returns the value of theattributerecord component.Constructor parameters in net.minecraft.predicate.item with type arguments of type EntityAttributeModifierConstructorDescriptionAttributeModifierPredicate(Optional<RegistryEntryList<EntityAttribute>> optional, Optional<Identifier> optional2, NumberRange.DoubleRange doubleRange, Optional<EntityAttributeModifier.Operation> optional3, Optional<AttributeModifierSlot> optional4) 
- 
Uses of EntityAttribute in net.minecraft.registryFields 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.commandMethod 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, Identifier id, double value, EntityAttributeModifier.Operation operation) private static intAttributeCommand.executeModifierRemove(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id) private static intAttributeCommand.executeModifierValueGet(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute, Identifier id, double multiplier) private static intAttributeCommand.executeResetToBaseValue(ServerCommandSource source, Entity target, RegistryEntry<EntityAttribute> attribute) 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) private static Stream<Identifier> AttributeCommand.streamModifiers(Entity target, RegistryEntry<EntityAttribute> attribute)