Conditions

List of useable conditions for creating custom enchantments.

What are conditions?

Conditions are an exact situation that needs to be happening for an enchantment to become active.

Some conditions will require arguments that are just customizable options, if the condition requires arguments then you will need to add some to avoid errors.

Example: You want an enchantment that gives regeneration, but only on low health. Using conditions you can check if the player's health is low.

To view a list of conditions and how to use them either execute /ee info in-game or check below.

You can use these conditions for targets aswell by replacing Player with Target ie. isTargetFlying would check if the target is flying

List of Variables

Last updated