Skip to content

Reflect Damage (Power Type)

Zac edited this page Nov 11, 2026 · 1 revision

Power Type


Adds a way to "parry" or reflect damage back onto the attacker.

originscontent:reflect_dmg

Fields

Field Type Default Description
bientity_condition Bientity Condition null The bientity condition that has to pass for the power to be considered active. The actor is the power holder, and the target is the attacker. If unspecified, or there is no attacker (environmental damage), assume condition passed.
damage_condition Damage Condition null The damage condition that has to pass for the power to be consider active. If unspecified, assume condition passed.
damage_modifier Modifier null The modifier that will be applied to the reflected damage. If unspecified, assume no change.
damage_type Damage Type Identifier The generic attack type for this entity (e.g. minecraft:player_attack for players, minecraft:mob_attack for mobs) The damage type that the reflected damage will be dealt as.
immune Boolean true Whether the power holder will be immune to the damage.
bientity_action Bientity Action null The bientity action to be executed upon successfully reflecting any damage. The actor is the power holder, and the target is the attacker.

Examples

{
  "type": "originscontent:reflect_dmg",
  "damage_modifier": {
    "operation": "multiply_total_multiplicative",
    "value": -0.5
  },
  "damage_type": "minecraft:arrow"
}

This example will reflect ALL damage the power holder takes, reducing the reflected amount by 50%, and applying it as the minecraft:arrow damage type.

Clone this wiki locally