Consumes XP from the player to repair the item's durability.
Parameter
Type
Required
Default
Description
amount
ScalingFunction
yes
--
Durability restored per activation
unbreakable
Prevents the item from taking durability damage.
No parameters. Use with PASSIVE trigger and PlayerItemDamageEvent.
hook
Pulls the target entity toward the player (grapple).
Parameter
Type
Required
Default
Description
power
ScalingFunction
yes
--
Pull strength
lava_walker
Converts lava blocks around the player to obsidian temporarily.
Parameter
Type
Required
Default
Description
radius
ScalingFunction
yes
--
Conversion radius
Note: Obsidian reverts to lava after 5 seconds.
feast
Restores hunger/saturation to the player.
Parameter
Type
Required
Default
Description
amount
ScalingFunction
yes
--
Food points to restore
deflect
Deflects incoming projectiles (arrows, etc.) away from the player.
No parameters. Use with TAKE_DAMAGE trigger.
piercing
Allows projectiles to pierce through multiple entities.
Parameter
Type
Required
Default
Description
max_pierces
ScalingFunction
yes
--
Maximum entities to pierce
gravity
Pulls nearby entities toward the player.
Parameter
Type
Required
Default
Description
radius
ScalingFunction
yes
--
Pull radius
power
ScalingFunction
yes
--
Pull strength
auto_reel
Automatically reels in fish and generates loot without needing to reel manually.
No parameters. Use with FISH_BITE trigger.
lifeline
Prevents lethal damage, leaving the player at 1 HP instead.
No parameters. Use with TAKE_DAMAGE trigger.
till
Tills dirt/grass blocks in a radius when using a hoe.
Parameter
Type
Required
Default
Description
radius
ScalingFunction
yes
--
Tilling radius
reflect_damage
Reflects a percentage of incoming melee damage back to the attacker.
Parameter
Type
Required
Default
Description
percentage
ScalingFunction
yes
--
Fraction of damage to reflect (e.g. 0.10 = 10%)
Note: Only works with melee damage (requires EntityDamageByEntityEvent). Does not reduce incoming damage.
command
Runs a server command as the player or as the console.
Parameter
Type
Required
Default
Description
command
string
yes
--
Command to run (without leading /). Supports placeholders.
run_as
string
no
PLAYER
Who runs the command: PLAYER or CONSOLE
Placeholders:
Placeholder
Replaced with
{player}
The player's name
{target}
The target entity's name (empty string if none)
{level}
The enchantment level
Note:PLAYER runs the command with the player's own permissions. Use CONSOLE for commands that require operator-level access.
timer
Repeatedly executes a set of sub-actions on a fixed interval for a set duration. Useful for damage-over-time, sustained effects, or multi-stage abilities.
Parameter
Type
Required
Default
Description
interval
integer (ticks)
no
5
Ticks between each execution (20 ticks = 1 second)
duration
integer (ticks)
no
100
Total ticks to run before stopping
actions
section
yes
--
Sub-actions to run on each tick, same format as top-level actions
Notes:
The timer starts immediately when the enchantment triggers and runs asynchronously via the Bukkit scheduler.
The timer stops early if the player goes offline.
Sub-actions support any action type including nested timer actions.
The level passed to sub-actions is the same level as the parent enchantment.
particle
Spawns particles at a specified location. Useful for adding visual feedback to enchantments as an action (rather than the enchant-level particle: section).
Parameter
Type
Required
Default
Description
particle_type
string
yes
--
Particle enum name (e.g. CLOUD, FLAME, ELECTRIC_SPARK)
count
int
no
10
Number of particles to spawn
spread
double
no
0.5
XYZ spread radius
speed
double
no
0.1
Particle speed
location
string
no
SELF
Where to spawn: SELF, TARGET, or BLOCK
Notes:
TARGET requires a resolved target entity; if none exists the particle is skipped.
BLOCK requires a block in the ActionContext; if none exists the particle is skipped.
Particle names match the Bukkit Particle enum (uppercase, e.g. SNOWFLAKE, PORTAL, TOTEM_OF_UNDYING).
sound
Plays a sound at the player's location or at the target's location.
Parameter
Type
Required
Default
Description
sound_type
string
yes
--
Sound registry key in dot notation (e.g. entity.enderman.teleport)
volume
double
no
1.0
Sound volume (0.0–2.0)
pitch
double
no
1.0
Sound pitch (0.5–2.0)
play_at_target
boolean
no
false
If true, plays at the target's location instead of the player's
Notes:
Sound keys use Minecraft's dot notation (e.g. entity.generic.explode, block.glass.break). Entity names with underscores keep them (e.g. entity.lightning_bolt.thunder).
If play_at_target is true and no target exists, the sound plays at the player's location.
send_message
Sends a MiniMessage-formatted message to the player or to nearby players.
actions:
burning_effect:
type: timer
interval: 5 # fire 4 times per second
duration: 100 # run for 5 seconds
actions:
damage:
type: bonus_damage
amount: 1.0
fire:
type: set_fire
duration: 10