> For the complete documentation index, see [llms.txt](https://enchantedmobs.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enchantedmobs.superiormc.cn/configs/power-modifiers/result-values.md).

# Result and Resource Modifiers

Every modifier on this page is documented independently. All entries also support the common modifier fields from the [Power Modifiers](/configs/power-modifiers.md) 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

```yaml
type: damage
operation: MULTIPLY
value: 1.25
```

### 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

```yaml
type: heal
operation: ADD
value: 2
```

### 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

```yaml
type: duration
operation: MULTIPLY
value: 2
```

### 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

```yaml
type: yield
operation: ADD
value: 2
```

### 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

```yaml
type: radius
operation: ADD
value: 2
```

### Behavior and limits

* Earlier modifiers in YAML order affect `{original}`.
* The radius is changed before the explosion is created.

***
