Uses of Class
net.minecraft.entity.attribute.EntityAttributeModifier
Package
Description
-
Uses of EntityAttributeModifier in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate static EntityAttributeModifier
LivingEntity.SPRINTING_SPEED_BOOST
-
Uses of EntityAttributeModifier in net.minecraft.entity.attribute
Modifier and TypeFieldDescriptionprivate Map<UUID,EntityAttributeModifier>
EntityAttributeInstance.idToModifiers
EntityAttributeInstance.operationToModifiers
private Set<EntityAttributeModifier>
EntityAttributeInstance.persistentModifiers
Modifier and TypeMethodDescriptionstatic @Nullable EntityAttributeModifier
EntityAttributeModifier.fromNbt(NbtCompound nbt)
EntityAttributeInstance.getModifier(UUID uuid)
Modifier and TypeMethodDescriptionEntityAttributeInstance.getModifiers()
EntityAttributeInstance.getModifiers(EntityAttributeModifier.Operation operation)
private Collection<EntityAttributeModifier>
EntityAttributeInstance.getModifiersByOperation(EntityAttributeModifier.Operation operation)
Modifier and TypeMethodDescriptionprivate void
EntityAttributeInstance.addModifier(EntityAttributeModifier modifier)
void
EntityAttributeInstance.addPersistentModifier(EntityAttributeModifier modifier)
void
EntityAttributeInstance.addTemporaryModifier(EntityAttributeModifier modifier)
Adds a temporary attribute modifier.boolean
EntityAttributeInstance.hasModifier(EntityAttributeModifier modifier)
void
EntityAttributeInstance.removeModifier(EntityAttributeModifier modifier)
Modifier and TypeMethodDescriptionvoid
AttributeContainer.addTemporaryModifiers(Multimap<EntityAttribute,EntityAttributeModifier> attributeModifiers)
void
AttributeContainer.removeModifiers(Multimap<EntityAttribute,EntityAttributeModifier> attributeModifiers)
-
Uses of EntityAttributeModifier in net.minecraft.entity.effect
Modifier and TypeFieldDescriptionprivate Map<EntityAttribute,EntityAttributeModifier>
StatusEffect.attributeModifiers
Modifier and TypeMethodDescriptiondouble
DamageModifierStatusEffect.adjustModifierAmount(int amplifier, EntityAttributeModifier modifier)
double
StatusEffect.adjustModifierAmount(int amplifier, EntityAttributeModifier modifier)
-
Uses of EntityAttributeModifier in net.minecraft.entity.mob
Modifier and TypeFieldDescriptionprivate static EntityAttributeModifier
EndermanEntity.ATTACKING_SPEED_BOOST
private static EntityAttributeModifier
ZombifiedPiglinEntity.ATTACKING_SPEED_BOOST
private static EntityAttributeModifier
ZombieEntity.BABY_SPEED_BONUS
private static EntityAttributeModifier
PiglinEntity.BABY_SPEED_BOOST
private static EntityAttributeModifier
ShulkerEntity.COVERED_ARMOR_BONUS
private static EntityAttributeModifier
WitchEntity.DRINKING_SPEED_PENALTY_MODIFIER
-
Uses of EntityAttributeModifier in net.minecraft.item
Modifier and TypeFieldDescriptionprivate Multimap<EntityAttribute,EntityAttributeModifier>
ArmorItem.attributeModifiers
private Multimap<EntityAttribute,EntityAttributeModifier>
MiningToolItem.attributeModifiers
private Multimap<EntityAttribute,EntityAttributeModifier>
SwordItem.attributeModifiers
private Multimap<EntityAttribute,EntityAttributeModifier>
TridentItem.attributeModifiers
Modifier and TypeMethodDescriptionArmorItem.getAttributeModifiers(EquipmentSlot slot)
Item.getAttributeModifiers(EquipmentSlot slot)
ItemStack.getAttributeModifiers(EquipmentSlot slot)
MiningToolItem.getAttributeModifiers(EquipmentSlot slot)
SwordItem.getAttributeModifiers(EquipmentSlot slot)
TridentItem.getAttributeModifiers(EquipmentSlot slot)
Modifier and TypeMethodDescriptionvoid
ItemStack.addAttributeModifier(EntityAttribute attribute, EntityAttributeModifier modifier, @Nullable EquipmentSlot slot)
-
Uses of EntityAttributeModifier in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate Collection<EntityAttributeModifier>
EntityAttributesS2CPacket.Entry.modifiers
ModifierConstructorDescriptionEntry(EntityAttribute attribute, double baseValue, Collection<EntityAttributeModifier> modifiers)