Uses of Class
net.minecraft.entity.ai.attributes.AttributeModifier
Package
Description
-
Uses of AttributeModifier in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate static final AttributeModifier
LivingEntity.SLOW_FALLING
private static final AttributeModifier
LivingEntity.SPEED_MODIFIER_SPRINTING
-
Uses of AttributeModifier in net.minecraft.entity.ai.attributes
Modifier and TypeFieldDescriptionprivate final Map<UUID,
AttributeModifier> ModifiableAttributeInstance.modifierById
private final Map<AttributeModifier.Operation,
Set<AttributeModifier>> ModifiableAttributeInstance.modifiersByOperation
private final Set<AttributeModifier>
ModifiableAttributeInstance.permanentModifiers
Modifier and TypeMethodDescriptionModifiableAttributeInstance.getModifier
(UUID p_111127_1_) static AttributeModifier
AttributeModifier.load
(CompoundNBT p_233800_0_) Modifier and TypeMethodDescriptionModifiableAttributeInstance.getModifiers()
ModifiableAttributeInstance.getModifiers
(AttributeModifier.Operation p_225504_1_) private Collection<AttributeModifier>
ModifiableAttributeInstance.getModifiersOrEmpty
(AttributeModifier.Operation p_220370_1_) Modifier and TypeMethodDescriptionprivate void
ModifiableAttributeInstance.addModifier
(AttributeModifier p_111121_1_) void
ModifiableAttributeInstance.addPermanentModifier
(AttributeModifier p_233769_1_) void
ModifiableAttributeInstance.addTransientModifier
(AttributeModifier p_233767_1_) boolean
ModifiableAttributeInstance.hasModifier
(AttributeModifier p_180374_1_) void
ModifiableAttributeInstance.removeModifier
(AttributeModifier p_111124_1_) Modifier and TypeMethodDescriptionvoid
AttributeModifierManager.addTransientAttributeModifiers
(com.google.common.collect.Multimap<Attribute, AttributeModifier> p_233793_1_) void
AttributeModifierManager.removeAttributeModifiers
(com.google.common.collect.Multimap<Attribute, AttributeModifier> p_233785_1_) -
Uses of AttributeModifier in net.minecraft.entity.monster
Modifier and TypeFieldDescriptionprivate static final AttributeModifier
ShulkerEntity.COVERED_ARMOR_MODIFIER
private static final AttributeModifier
EndermanEntity.SPEED_MODIFIER_ATTACKING
private static final AttributeModifier
ZombifiedPiglinEntity.SPEED_MODIFIER_ATTACKING
private static final AttributeModifier
ZombieEntity.SPEED_MODIFIER_BABY
private static final AttributeModifier
WitchEntity.SPEED_MODIFIER_DRINKING
-
Uses of AttributeModifier in net.minecraft.entity.monster.piglin
Modifier and TypeFieldDescriptionprivate static final AttributeModifier
PiglinEntity.SPEED_MODIFIER_BABY
-
Uses of AttributeModifier in net.minecraft.item
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.Multimap<Attribute,
AttributeModifier> ArmorItem.defaultModifiers
private final com.google.common.collect.Multimap<Attribute,
AttributeModifier> SwordItem.defaultModifiers
private final com.google.common.collect.Multimap<Attribute,
AttributeModifier> ToolItem.defaultModifiers
private final com.google.common.collect.Multimap<Attribute,
AttributeModifier> TridentItem.defaultModifiers
Modifier and TypeMethodDescriptioncom.google.common.collect.Multimap<Attribute,
AttributeModifier> ItemStack.getAttributeModifiers
(EquipmentSlotType p_111283_1_) com.google.common.collect.Multimap<Attribute,
AttributeModifier> ArmorItem.getDefaultAttributeModifiers
(EquipmentSlotType p_111205_1_) com.google.common.collect.Multimap<Attribute,
AttributeModifier> Item.getDefaultAttributeModifiers
(EquipmentSlotType p_111205_1_) Deprecated.com.google.common.collect.Multimap<Attribute,
AttributeModifier> SwordItem.getDefaultAttributeModifiers
(EquipmentSlotType p_111205_1_) com.google.common.collect.Multimap<Attribute,
AttributeModifier> ToolItem.getDefaultAttributeModifiers
(EquipmentSlotType p_111205_1_) com.google.common.collect.Multimap<Attribute,
AttributeModifier> TridentItem.getDefaultAttributeModifiers
(EquipmentSlotType p_111205_1_) Modifier and TypeMethodDescriptionvoid
ItemStack.addAttributeModifier
(Attribute p_185129_1_, AttributeModifier p_185129_2_, EquipmentSlotType p_185129_3_) -
Uses of AttributeModifier in net.minecraft.network.play.server
Modifier and TypeFieldDescriptionprivate final Collection<AttributeModifier>
SEntityPropertiesPacket.Snapshot.modifiers
ModifierConstructorDescriptionSnapshot
(Attribute p_i232582_2_, double p_i232582_3_, Collection<AttributeModifier> p_i232582_5_) -
Uses of AttributeModifier in net.minecraft.potion
Modifier and TypeFieldDescriptionprivate final Map<Attribute,
AttributeModifier> Effect.attributeModifiers
Modifier and TypeMethodDescriptiondouble
AttackDamageEffect.getAttributeModifierValue
(int p_111183_1_, AttributeModifier p_111183_2_) double
Effect.getAttributeModifierValue
(int p_111183_1_, AttributeModifier p_111183_2_) -
Uses of AttributeModifier in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap<Attribute,
AttributeModifier> ForgeHooks.getAttributeModifiers
(ItemStack stack, EquipmentSlotType 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, EquipmentSlotType 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
(EquipmentSlotType slot, ItemStack stack) ItemStack sensitive version of getItemAttributeModifiers -
Uses of AttributeModifier in net.minecraftforge.debug.entity
Modifier and TypeFieldDescriptionprivate static final AttributeModifier
GravityAttributeTest.REDUCED_GRAVITY
Modifier and TypeMethodDescriptioncom.google.common.collect.Multimap<Attribute,
AttributeModifier> GravityAttributeTest.ItemGravityStick.getDefaultAttributeModifiers
(EquipmentSlotType slot) -
Uses of AttributeModifier in net.minecraftforge.debug.entity.player
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.Multimap<Attribute,
AttributeModifier> PlayerAttackKnockbackTest.KnockbackSwordItem.defaultModifiers
Modifier and TypeMethodDescriptioncom.google.common.collect.Multimap<Attribute,
AttributeModifier> PlayerAttackKnockbackTest.KnockbackSwordItem.getDefaultAttributeModifiers
(EquipmentSlotType equipmentSlotType) -
Uses of AttributeModifier in net.minecraftforge.debug.item
Modifier and TypeFieldDescriptionprivate static final AttributeModifier
ItemAttributeModifierTest.MODIFIER
-
Uses of AttributeModifier in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate com.google.common.collect.Multimap<Attribute,
AttributeModifier> ItemAttributeModifierEvent.modifiableModifiers
private final 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, EquipmentSlotType slotType, com.google.common.collect.Multimap<Attribute, AttributeModifier> modifiers)