-
Notifications
You must be signed in to change notification settings - Fork 2
Damage Type Overrides
Damage Source Overrides allow you to take a pre-existing damage source and augment it to be handled as Alembic damage types.
Example JSON:
{
"priority": 1,
"source_overrides": {
"alembic:alchemical": {"alchemical_damage": 1.0},
"minecraft:wither": {"arcane_damage": 0.50, "true_damage": 0.50},
"minecraft:sting": {"alchemical_damage": 0.20, "physical_damage": 0.80},
"alembic:allergy": {"alchemical_damage": 1.0},
"minecraft:out_of_world": {"true_damage": 1.0},
"minecraft:lightning_bolt": {"true_damage": 1.0},
"minecraft:freeze": {"true_damage": 1.0},
"minecraft:wither_skull":{"true_damage": 0.10, "arcane_damage": 0.60, "physical_damage": 0.30},
"minecraft:in_fire": {"fire_damage": 1.0},
"minecraft:on_fire": {"fire_damage": 1.0},
"alembic:soul_fire": {"fire_damage": 0.50, "arcane_damage": 0.50},
"minecraft:player_explosion": {"fire_damage": 0.50, "physical_damage": 0.50},
"minecraft:explosion": {"fire_damage": 0.50, "physical_damage": 0.50},
"minecraft:fireworks": {"fire_damage": 0.50, "physical_damage": 0.50},
"minecraft:fireball": {"fire_damage": 0.70, "physical_damage": 0.30},
"minecraft:drown": {"true_damage": 1.0},
"minecraft:magic": {"arcane_damage": 1.0},
"minecraft:trident": {"arcane_damage": 0.25, "physical_damage": 0.75},
"minecraft:sonic_boom": {"arcane_damage": 0.50, "physical_damage": 0.50},
"minecraft:thorns": {"arcane_damage": 1.0},
"alembic:evoker_fangs": {"arcane_damage": 0.10, "physical_damage": 0.90},
"alembic:guardian_beam": {"arcane_damage": 1.0},
"minecraft:mob_attack_no_aggro": {"physical_damage": 1.0},
"minecraft:mob_attack": {"physical_damage": 1.0},
"minecraft:player_attack": {"physical_damage": 1.0},
"minecraft:arrow": {"physical_damage": 1.0},
"minecraft:thrown": {"physical_damage": 1.0},
"minecraft:fall": {"true_damage": 1.0}
}
}
priority
works the same as all other Alembic JSONs.
source_overrides
contains vanilla damage sources mapped to Alembic damage types and a multiplier. In this example JSON, the alembic:soul_fire
damage type, when taken by an entity, deals 50% of its damage as alembic:fire_damage
and 50% of its damage as alembic:arcane_damage
. When damage is dealt to an entity, the damage type is intercepted and split into each Alembic damage type and dealt again, splitting the amount of damage according to the multiplier.
This list is a list of damage types we think should be grouped together, included with Alembic.
alembic:is_fire_or_hot_floor
: Contains minecraft:in_fire
, minecraft:on_fire
, and minecraft:hot_floor
alembic:is_lava
: Contains minecraft:lava
alembic:is_pricked
: Contains minecraft:cactus
and minecraft:sweet_berry_bush