Uses of Class
net.minecraft.world.entity.ai.attributes.AttributeModifier
Package
Description
-
Uses of AttributeModifier in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate Collection<AttributeModifier>
ClientboundUpdateAttributesPacket.AttributeSnapshot.modifiers
Modifier and TypeMethodDescriptionClientboundUpdateAttributesPacket.AttributeSnapshot.getModifiers()
ModifierConstructorDescriptionAttributeSnapshot(Attribute p_179459_, double p_179460_, Collection<AttributeModifier> p_179461_)
-
Uses of AttributeModifier in net.minecraft.world.effect
Modifier and TypeFieldDescriptionprivate Map<Attribute,AttributeModifier>
MobEffect.attributeModifiers
Modifier and TypeMethodDescriptiondouble
AttackDamageMobEffect.getAttributeModifierValue(int p_19430_, AttributeModifier p_19431_)
double
MobEffect.getAttributeModifierValue(int p_19457_, AttributeModifier p_19458_)
-
Uses of AttributeModifier in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate static AttributeModifier
LivingEntity.SLOW_FALLING
private static AttributeModifier
LivingEntity.SPEED_MODIFIER_SPRINTING
-
Uses of AttributeModifier in net.minecraft.world.entity.ai.attributes
Modifier and TypeFieldDescriptionprivate Map<UUID,AttributeModifier>
AttributeInstance.modifierById
private Map<AttributeModifier.Operation,Set<AttributeModifier>>
AttributeInstance.modifiersByOperation
private Set<AttributeModifier>
AttributeInstance.permanentModifiers
Modifier and TypeMethodDescriptionAttributeInstance.getModifier(UUID p_22112_)
static AttributeModifier
AttributeModifier.load(CompoundTag p_22213_)
Modifier and TypeMethodDescriptionAttributeInstance.getModifiers()
AttributeInstance.getModifiers(AttributeModifier.Operation p_22105_)
private Collection<AttributeModifier>
AttributeInstance.getModifiersOrEmpty(AttributeModifier.Operation p_22117_)
Modifier and TypeMethodDescriptionprivate void
AttributeInstance.addModifier(AttributeModifier p_22134_)
void
AttributeInstance.addPermanentModifier(AttributeModifier p_22126_)
void
AttributeInstance.addTransientModifier(AttributeModifier p_22119_)
boolean
AttributeInstance.hasModifier(AttributeModifier p_22110_)
void
AttributeInstance.removeModifier(AttributeModifier p_22131_)
Modifier and TypeMethodDescriptionvoid
AttributeMap.addTransientAttributeModifiers(com.google.common.collect.Multimap<Attribute,AttributeModifier> p_22179_)
void
AttributeMap.removeAttributeModifiers(com.google.common.collect.Multimap<Attribute,AttributeModifier> p_22162_)
-
Uses of AttributeModifier in net.minecraft.world.entity.monster
Modifier and TypeFieldDescriptionprivate static AttributeModifier
Shulker.COVERED_ARMOR_MODIFIER
private static AttributeModifier
EnderMan.SPEED_MODIFIER_ATTACKING
private static AttributeModifier
ZombifiedPiglin.SPEED_MODIFIER_ATTACKING
private static AttributeModifier
Zombie.SPEED_MODIFIER_BABY
private static AttributeModifier
Witch.SPEED_MODIFIER_DRINKING
-
Uses of AttributeModifier in net.minecraft.world.entity.monster.piglin
-
Uses of AttributeModifier in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate com.google.common.collect.Multimap<Attribute,AttributeModifier>
ArmorItem.defaultModifiers
private com.google.common.collect.Multimap<Attribute,AttributeModifier>
DiggerItem.defaultModifiers
private com.google.common.collect.Multimap<Attribute,AttributeModifier>
SwordItem.defaultModifiers
private com.google.common.collect.Multimap<Attribute,AttributeModifier>
TridentItem.defaultModifiers
Modifier and TypeMethodDescriptioncom.google.common.collect.Multimap<Attribute,AttributeModifier>
ItemStack.getAttributeModifiers(EquipmentSlot p_41639_)
com.google.common.collect.Multimap<Attribute,AttributeModifier>
ArmorItem.getDefaultAttributeModifiers(EquipmentSlot p_40390_)
com.google.common.collect.Multimap<Attribute,AttributeModifier>
DiggerItem.getDefaultAttributeModifiers(EquipmentSlot p_40990_)
com.google.common.collect.Multimap<Attribute,AttributeModifier>
Item.getDefaultAttributeModifiers(EquipmentSlot p_41388_)
Deprecated.com.google.common.collect.Multimap<Attribute,AttributeModifier>
SwordItem.getDefaultAttributeModifiers(EquipmentSlot p_43274_)
com.google.common.collect.Multimap<Attribute,AttributeModifier>
TridentItem.getDefaultAttributeModifiers(EquipmentSlot p_43383_)
Modifier and TypeMethodDescriptionvoid
ItemStack.addAttributeModifier(Attribute p_41644_, AttributeModifier p_41645_, EquipmentSlot p_41646_)
-
Uses of AttributeModifier in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap<Attribute,AttributeModifier>
ForgeHooks.getAttributeModifiers(ItemStack stack, EquipmentSlot equipmentSlot, com.google.common.collect.Multimap<Attribute,AttributeModifier> attributes)
Hook to fireItemAttributeModifierEvent
.Modifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap<Attribute,AttributeModifier>
ForgeHooks.getAttributeModifiers(ItemStack stack, EquipmentSlot equipmentSlot, com.google.common.collect.Multimap<Attribute,AttributeModifier> attributes)
Hook to fireItemAttributeModifierEvent
. -
Uses of AttributeModifier in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault com.google.common.collect.Multimap<Attribute,AttributeModifier>
IForgeItem.getAttributeModifiers(EquipmentSlot slot, ItemStack stack)
ItemStack sensitive version of getItemAttributeModifiers -
Uses of AttributeModifier in net.minecraftforge.debug.entity
Modifier and TypeFieldDescriptionprivate static AttributeModifier
GravityAttributeTest.REDUCED_GRAVITY
Modifier and TypeMethodDescriptioncom.google.common.collect.Multimap<Attribute,AttributeModifier>
GravityAttributeTest.ItemGravityStick.getDefaultAttributeModifiers(EquipmentSlot slot)
-
Uses of AttributeModifier in net.minecraftforge.debug.entity.player
Modifier and TypeFieldDescriptionprivate com.google.common.collect.Multimap<Attribute,AttributeModifier>
PlayerAttackKnockbackTest.KnockbackSwordItem.defaultModifiers
Modifier and TypeMethodDescriptioncom.google.common.collect.Multimap<Attribute,AttributeModifier>
PlayerAttackKnockbackTest.KnockbackSwordItem.getDefaultAttributeModifiers(EquipmentSlot equipmentSlotType)
-
Uses of AttributeModifier in net.minecraftforge.debug.item
Modifier and TypeFieldDescriptionprivate static AttributeModifier
ItemAttributeModifierTest.MODIFIER
-
Uses of AttributeModifier in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate com.google.common.collect.Multimap<Attribute,AttributeModifier>
ItemAttributeModifierEvent.modifiableModifiers
private com.google.common.collect.Multimap<Attribute,AttributeModifier>
ItemAttributeModifierEvent.originalModifiers
private com.google.common.collect.Multimap<Attribute,AttributeModifier>
ItemAttributeModifierEvent.unmodifiableModifiers
Modifier and TypeMethodDescriptionprivate com.google.common.collect.Multimap<Attribute,AttributeModifier>
ItemAttributeModifierEvent.getModifiableMap()
Gets a modifiable map instance, creating it if the current map is currently unmodifiablecom.google.common.collect.Multimap<Attribute,AttributeModifier>
ItemAttributeModifierEvent.getModifiers()
Returns an unmodifiable view of the attribute multimap.com.google.common.collect.Multimap<Attribute,AttributeModifier>
ItemAttributeModifierEvent.getOriginalModifiers()
Returns the attribute map before any changes from other event listeners was made.ItemAttributeModifierEvent.removeAttribute(Attribute attribute)
Removes all modifiers for the given attributeModifier and TypeMethodDescriptionboolean
ItemAttributeModifierEvent.addModifier(Attribute attribute, AttributeModifier modifier)
Adds a new attribute modifier to the given stack.boolean
ItemAttributeModifierEvent.removeModifier(Attribute attribute, AttributeModifier modifier)
Removes a single modifier for the given attributeModifierConstructorDescriptionItemAttributeModifierEvent(ItemStack stack, EquipmentSlot slotType, com.google.common.collect.Multimap<Attribute,AttributeModifier> modifiers)