Attribute Modifier

Description

Adds an attribute modifier to the attributable target. Not supposed to be used on players.

Attributes

Attribute Aliases Description Default
attribute attr The attribute GENERIC_LUCK
operation op The operation to perform ADD_NUMBER
name modifierName The name of the modifier <caster.uuid>
amount amt, a The modifier of the attribute 0
duration dur The duration of the attribute 0

Examples

ExampleMob:
  Type: ZOMBIE
  Skills:
  - attributeModifier{attribute=GENERIC_LUCK;a=2;dur=1200;op=ADD_NUMBER} @trigger ~onDeath
Updated Aug 19, 2026