Skip to content

Trident Enchantment

Entity Condition Type.

Compares a TridentEntity's enchantment level with a specified value.

Type ID: apugli:trident_enchantment

Fields

Field Type Default Description
enchantment Identifier The identifier of the enchantment to test.
comparison Comparison >= How the amount of particles within the specified radius which are the specified should be compared to the specified value.
compare_to Integer The value to compare the amount to.

Example

"condition": {
    "type": "apugli:trident_enchantment",
    "enchantment": "minecraft:riptide",
    "comparison": "==",
    "compare_to": 0
}
This example tests whether a Trident entity has no levels of riptide.