Package net.minestom.server.item
Interface Enchantment
- All Superinterfaces:
net.kyori.adventure.key.Keyed
,ProtocolObject
,StaticProtocolObject
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
static final Enchantment
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Enchantment
fromId
(int id) static @Nullable Enchantment
fromNamespaceId
(@NotNull String namespaceID) static @Nullable Enchantment
fromNamespaceId
(@NotNull NamespaceID namespaceID) default int
id()
default @NotNull NamespaceID
registry()
Returns the enchantment registry.static @NotNull Collection
<@NotNull Enchantment> values()
Methods inherited from interface net.minestom.server.registry.ProtocolObject
key, name
-
Field Details
-
PROTECTION
-
FIRE_PROTECTION
-
FEATHER_FALLING
-
BLAST_PROTECTION
-
PROJECTILE_PROTECTION
-
RESPIRATION
-
AQUA_AFFINITY
-
THORNS
-
DEPTH_STRIDER
-
FROST_WALKER
-
BINDING_CURSE
-
SOUL_SPEED
-
SWIFT_SNEAK
-
SHARPNESS
-
SMITE
-
BANE_OF_ARTHROPODS
-
KNOCKBACK
-
FIRE_ASPECT
-
LOOTING
-
SWEEPING
-
EFFICIENCY
-
SILK_TOUCH
-
UNBREAKING
-
FORTUNE
-
POWER
-
PUNCH
-
FLAME
-
INFINITY
-
LUCK_OF_THE_SEA
-
LURE
-
LOYALTY
-
IMPALING
-
RIPTIDE
-
CHANNELING
-
MULTISHOT
-
QUICK_CHARGE
-
PIERCING
-
MENDING
-
VANISHING_CURSE
-
-
Method Details
-
registry
Returns the enchantment registry.- Returns:
- the enchantment registry
-
namespace
- Specified by:
namespace
in interfaceProtocolObject
-
id
default int id()- Specified by:
id
in interfaceStaticProtocolObject
-
values
-
fromNamespaceId
-
fromNamespaceId
-
fromId
-