Uses of Class
net.minecraft.entity.attribute.EntityAttributeModifier
Package
Description
-
Uses of EntityAttributeModifier in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate static final EntityAttributeModifier
LivingEntity.SPRINTING_SPEED_BOOST
-
Uses of EntityAttributeModifier in net.minecraft.entity.attribute
Modifier and TypeFieldDescriptionprivate final Map<UUID,
EntityAttributeModifier> EntityAttributeInstance.idToModifiers
private final Map<EntityAttributeModifier.Operation,
Set<EntityAttributeModifier>> EntityAttributeInstance.operationToModifiers
private final 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 final 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 final EntityAttributeModifier
EndermanEntity.ATTACKING_SPEED_BOOST
private static final EntityAttributeModifier
ZombifiedPiglinEntity.ATTACKING_SPEED_BOOST
private static final EntityAttributeModifier
ZombieEntity.BABY_SPEED_BONUS
private static final EntityAttributeModifier
PiglinEntity.BABY_SPEED_BOOST
private static final EntityAttributeModifier
ShulkerEntity.COVERED_ARMOR_BONUS
private static final EntityAttributeModifier
WitchEntity.DRINKING_SPEED_PENALTY_MODIFIER
-
Uses of EntityAttributeModifier in net.minecraft.item
Modifier and TypeFieldDescriptionprivate final Multimap<EntityAttribute,
EntityAttributeModifier> ArmorItem.attributeModifiers
private final Multimap<EntityAttribute,
EntityAttributeModifier> MiningToolItem.attributeModifiers
private final Multimap<EntityAttribute,
EntityAttributeModifier> SwordItem.attributeModifiers
private final Multimap<EntityAttribute,
EntityAttributeModifier> TridentItem.attributeModifiers
Modifier 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.Modifier and TypeMethodDescriptionvoid
ItemStack.addAttributeModifier
(EntityAttribute attribute, EntityAttributeModifier modifier, @Nullable EquipmentSlot slot) Adds an attribute modifier to this stack. -
Uses of EntityAttributeModifier in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final Collection<EntityAttributeModifier>
EntityAttributesS2CPacket.Entry.modifiers
ModifierConstructorDescriptionEntry
(EntityAttribute attribute, double baseValue, Collection<EntityAttributeModifier> modifiers)