Type (Damage Condition Type)

Checks whether the damage source is of a certain damage type.

Checks whether the damage source is of a certain damage type.

Type ID: apoli:type

Fields

FieldTypeDefaultDescription
damage_typeIdentifierThe ID of the damage type to compare the damage source to.

Examples

"damage_condition": {
	"type": "apoli:type",
	"damage_type": "minecraft:magic"
}

This example will check if the damage source is of the minecraft:magic damage type.