Enchantment Vulnerability#
Since v1.0.0
Makes the entity that has the power vulnerable to certain damage enchantments independent of its entity group.
Type ID: voile:enchantment_vulnerability
Note
This power only supports the vanilla enchantments Smite, Bane of Arthropods, and Impaling.
Fields#
Field | Type | Default | Description |
---|---|---|---|
enchantment |
Identifier | optional | The namespace and ID of the enchantment that the entity should be vulnerable to. |
enchantments |
Array of Identifiers | optional | The namespaces and IDs of the enchantments that the entity should be vulnerable to. |
Examples#
{
"type": "voile:enchantment_vulnerability",
"enchantment": "minecraft:smite"
}
This example makes the entity that has the power vulnerable to the Smite enchantment as if it were undead.
{
"type": "voile:enchantment_vulnerability",
"enchantments": [
"minecraft:smite",
"minecraft:bane_of_arthropods",
"minecraft:impaling"
]
}
This example makes the entity that has the power vulnerable to all of the vanilla damage enchantments.