Types

List of useable types when creating custom enchantments.

What are types?

Types are the event that needs to be happening for an enchantment to activate.

Type

Description

ATTACK

When you attack another player

BOW

When you fire a bow and hit a player/mob

BOW_FIRE

When you fire a bow

BREAK

When your item breaks

DEATH

When you die

DEFENSE

When you are attacked

FIRE

Each fire tick

FISHING

When you catch a fish or item

HELD

When you hold an item

INTERACT_LEFT

When you left-click an item

INTERACT_RIGHT

When you right-click an item

ITEM_DAMAGE

When your item takes damage

KILL

When you kill a player

MINE

When you break a block

PASSIVE

When you apply an item

Last updated