Uses of Class
net.minecraft.entity.ai.attributes.AttributeModifier
-
-
Uses of AttributeModifier in net.minecraft.entity
Fields in net.minecraft.entity declared as AttributeModifier Modifier and Type Field Description private static AttributeModifier
LivingEntity. SLOW_FALLING
private static AttributeModifier
LivingEntity. SPEED_MODIFIER_SPRINTING
-
Uses of AttributeModifier in net.minecraft.entity.ai.attributes
Fields in net.minecraft.entity.ai.attributes with type parameters of type AttributeModifier Modifier and Type Field Description private java.util.Map<java.util.UUID,AttributeModifier>
ModifiableAttributeInstance. modifierById
private java.util.Map<AttributeModifier.Operation,java.util.Set<AttributeModifier>>
ModifiableAttributeInstance. modifiersByOperation
private java.util.Set<AttributeModifier>
ModifiableAttributeInstance. permanentModifiers
Methods in net.minecraft.entity.ai.attributes that return AttributeModifier Modifier and Type Method Description AttributeModifier
ModifiableAttributeInstance. getModifier(java.util.UUID p_111127_1_)
static AttributeModifier
AttributeModifier. load(CompoundNBT p_233800_0_)
Methods in net.minecraft.entity.ai.attributes that return types with arguments of type AttributeModifier Modifier and Type Method Description java.util.Set<AttributeModifier>
ModifiableAttributeInstance. getModifiers()
java.util.Set<AttributeModifier>
ModifiableAttributeInstance. getModifiers(AttributeModifier.Operation p_225504_1_)
private java.util.Collection<AttributeModifier>
ModifiableAttributeInstance. getModifiersOrEmpty(AttributeModifier.Operation p_220370_1_)
Methods in net.minecraft.entity.ai.attributes with parameters of type AttributeModifier Modifier and Type Method Description private 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_)
Method parameters in net.minecraft.entity.ai.attributes with type arguments of type AttributeModifier Modifier and Type Method Description void
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
Fields in net.minecraft.entity.monster declared as AttributeModifier Modifier and Type Field Description private static AttributeModifier
ShulkerEntity. COVERED_ARMOR_MODIFIER
private static AttributeModifier
EndermanEntity. SPEED_MODIFIER_ATTACKING
private static AttributeModifier
ZombifiedPiglinEntity. SPEED_MODIFIER_ATTACKING
private static AttributeModifier
ZombieEntity. SPEED_MODIFIER_BABY
private static AttributeModifier
WitchEntity. SPEED_MODIFIER_DRINKING
-
Uses of AttributeModifier in net.minecraft.entity.monster.piglin
Fields in net.minecraft.entity.monster.piglin declared as AttributeModifier Modifier and Type Field Description private static AttributeModifier
PiglinEntity. SPEED_MODIFIER_BABY
-
Uses of AttributeModifier in net.minecraft.item
Fields in net.minecraft.item with type parameters of type AttributeModifier Modifier and Type Field Description private com.google.common.collect.Multimap<Attribute,AttributeModifier>
ArmorItem. defaultModifiers
private com.google.common.collect.Multimap<Attribute,AttributeModifier>
SwordItem. defaultModifiers
private com.google.common.collect.Multimap<Attribute,AttributeModifier>
ToolItem. defaultModifiers
private com.google.common.collect.Multimap<Attribute,AttributeModifier>
TridentItem. defaultModifiers
Methods in net.minecraft.item that return types with arguments of type AttributeModifier Modifier and Type Method Description com.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_)
Methods in net.minecraft.item with parameters of type AttributeModifier Modifier and Type Method Description void
ItemStack. addAttributeModifier(Attribute p_185129_1_, AttributeModifier p_185129_2_, EquipmentSlotType p_185129_3_)
-
Uses of AttributeModifier in net.minecraft.network.play.server
Fields in net.minecraft.network.play.server with type parameters of type AttributeModifier Modifier and Type Field Description private java.util.Collection<AttributeModifier>
SEntityPropertiesPacket.Snapshot. modifiers
Methods in net.minecraft.network.play.server that return types with arguments of type AttributeModifier Modifier and Type Method Description java.util.Collection<AttributeModifier>
SEntityPropertiesPacket.Snapshot. getModifiers()
Constructor parameters in net.minecraft.network.play.server with type arguments of type AttributeModifier Constructor Description Snapshot(Attribute p_i232582_2_, double p_i232582_3_, java.util.Collection<AttributeModifier> p_i232582_5_)
-
Uses of AttributeModifier in net.minecraft.potion
Fields in net.minecraft.potion with type parameters of type AttributeModifier Modifier and Type Field Description private java.util.Map<Attribute,AttributeModifier>
Effect. attributeModifiers
Methods in net.minecraft.potion that return types with arguments of type AttributeModifier Modifier and Type Method Description java.util.Map<Attribute,AttributeModifier>
Effect. getAttributeModifiers()
Methods in net.minecraft.potion with parameters of type AttributeModifier Modifier and Type Method Description double
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
Methods in net.minecraftforge.common that return types with arguments of type AttributeModifier Modifier and Type Method Description static com.google.common.collect.Multimap<Attribute,AttributeModifier>
ForgeHooks. getAttributeModifiers(ItemStack stack, EquipmentSlotType equipmentSlot, com.google.common.collect.Multimap<Attribute,AttributeModifier> attributes)
Hook to fireItemAttributeModifierEvent
.Method parameters in net.minecraftforge.common with type arguments of type AttributeModifier Modifier and Type Method Description static 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
Methods in net.minecraftforge.common.extensions that return types with arguments of type AttributeModifier Modifier and Type Method Description default 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
Fields in net.minecraftforge.debug.entity declared as AttributeModifier Modifier and Type Field Description private static AttributeModifier
GravityAttributeTest. REDUCED_GRAVITY
Methods in net.minecraftforge.debug.entity that return types with arguments of type AttributeModifier Modifier and Type Method Description com.google.common.collect.Multimap<Attribute,AttributeModifier>
GravityAttributeTest.ItemGravityStick. getDefaultAttributeModifiers(EquipmentSlotType slot)
-
Uses of AttributeModifier in net.minecraftforge.debug.entity.player
Fields in net.minecraftforge.debug.entity.player with type parameters of type AttributeModifier Modifier and Type Field Description private com.google.common.collect.Multimap<Attribute,AttributeModifier>
PlayerAttackKnockbackTest.KnockbackSwordItem. defaultModifiers
Methods in net.minecraftforge.debug.entity.player that return types with arguments of type AttributeModifier Modifier and Type Method Description com.google.common.collect.Multimap<Attribute,AttributeModifier>
PlayerAttackKnockbackTest.KnockbackSwordItem. getDefaultAttributeModifiers(EquipmentSlotType equipmentSlotType)
-
Uses of AttributeModifier in net.minecraftforge.debug.item
Fields in net.minecraftforge.debug.item declared as AttributeModifier Modifier and Type Field Description private static AttributeModifier
ItemAttributeModifierTest. MODIFIER
-
Uses of AttributeModifier in net.minecraftforge.event
Fields in net.minecraftforge.event with type parameters of type AttributeModifier Modifier and Type Field Description private 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
Methods in net.minecraftforge.event that return types with arguments of type AttributeModifier Modifier and Type Method Description private 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.java.util.Collection<AttributeModifier>
ItemAttributeModifierEvent. removeAttribute(Attribute attribute)
Removes all modifiers for the given attributeMethods in net.minecraftforge.event with parameters of type AttributeModifier Modifier and Type Method Description boolean
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 attributeConstructor parameters in net.minecraftforge.event with type arguments of type AttributeModifier Constructor Description ItemAttributeModifierEvent(ItemStack stack, EquipmentSlotType slotType, com.google.common.collect.Multimap<Attribute,AttributeModifier> modifiers)
-