Attribute Util
Functions
Link copied to clipboard
public final static AttributeModifiersComponent.Builder addDefault(AttributeModifiersComponent.Builder $self, RegistryEntry<EntityAttribute> attribute)
Adds the default staff modifier of the given entity attribute as main hand modifier.
Link copied to clipboard
Creates an EntityAttributeModifier, which changes the attack damage to totalAttackDamage after subtracting the player's base attack damage.
Link copied to clipboard
Creates an EntityAttributeModifier, which changes the attack speed to totalAttackSpeed after subtracting the player's base attack speed.
Link copied to clipboard
Creates an EntityAttributeModifier, which changes the attack speed to the reciprocal of totalEquipTime after subtracting the player's base attack speed.
Link copied to clipboard
Creates an EntityAttributeModifier, which increases the interaction range by additionalRange.