For the complete documentation index, see llms.txt. This page is also available as Markdown.

📈Result and Resource Modifiers

Every modifier on this page is documented independently. All entries also support the common modifier fields from the Power Modifiers page.

Registry keys on this page

  • damage

  • heal

  • duration

  • yield

  • radius


damage

Purpose: Changes the current mutable damage result.

Context: Damage-producing triggers such as incoming/outgoing damage.

Fields

Field
Default
Description

value

current value

Operand; {original} is the current result before this modifier.

operation

SET

SET, ADD, SUBTRACT, MULTIPLY, DIVIDE, MIN, or MAX; division by zero keeps the original.

Example

Behavior and limits

  • Earlier modifiers in YAML order affect {original}.

  • Final damage is applied after matching powers finish.


heal

Purpose: Changes the current health-regain amount.

Context: on-regain or another trigger with a regain result.

Fields

Field
Default
Description

value

current value

Operand; {original} is the current result before this modifier.

operation

SET

SET, ADD, SUBTRACT, MULTIPLY, DIVIDE, MIN, or MAX; division by zero keeps the original.

Example

Behavior and limits

  • Earlier modifiers in YAML order affect {original}.

  • The value is written back to the regain event result.


duration

Purpose: Changes the current combustion duration.

Context: on-combust or another trigger with a combustion-duration result.

Fields

Field
Default
Description

value

current value

Operand; {original} is the current result before this modifier.

operation

SET

SET, ADD, SUBTRACT, MULTIPLY, DIVIDE, MIN, or MAX; division by zero keeps the original.

Example

Behavior and limits

  • Earlier modifiers in YAML order affect {original}.

  • The result is later applied to the combustion event.


yield

Purpose: Changes explosion yield.

Context: An entity-explosion trigger with mutable yield.

Fields

Field
Default
Description

value

current value

Operand; {original} is the current result before this modifier.

operation

SET

SET, ADD, SUBTRACT, MULTIPLY, DIVIDE, MIN, or MAX; division by zero keeps the original.

Example

Behavior and limits

  • Earlier modifiers in YAML order affect {original}.

  • Explosion yield affects block drops; it is not explosion radius.


radius

Purpose: Changes primed-explosion radius.

Context: on-creeper-explode / ExplosionPrimeEvent.

Fields

Field
Default
Description

value

current value

Operand; {original} is the current result before this modifier.

operation

SET

SET, ADD, SUBTRACT, MULTIPLY, DIVIDE, MIN, or MAX; division by zero keeps the original.

Example

Behavior and limits

  • Earlier modifiers in YAML order affect {original}.

  • The radius is changed before the explosion is created.


Last updated