Package net.minestom.server.item.enchant
Interface Enchantment
- All Superinterfaces:
ProtocolObject
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static final record
static interface
static enum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final @NotNull BinaryTagSerializer
<DynamicRegistry.Key<Enchantment>> static final NetworkBuffer.Type
<DynamicRegistry.Key<Enchantment>> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> static final DynamicRegistry.Key
<Enchantment> -
Method Summary
Modifier and TypeMethodDescriptionint
static @NotNull Enchantment.Builder
builder()
static @NotNull DynamicRegistry
<Enchantment> createDefaultRegistry
(@NotNull Registries registries) Creates a new registry for enchantments, loading the vanilla enchantments.@NotNull Component
@NotNull DataComponentMap
effects()
@NotNull ObjectSet
<Enchantment> @NotNull Enchantment.Cost
maxCost()
int
maxLevel()
@NotNull Enchantment.Cost
minCost()
registry()
@NotNull List
<EquipmentSlotGroup> slots()
int
weight()
-
Field Details
-
NETWORK_TYPE
-
NBT_TYPE
-
DEPTH_STRIDER
-
VANISHING_CURSE
-
EFFICIENCY
-
IMPALING
-
WIND_BURST
-
BANE_OF_ARTHROPODS
-
BINDING_CURSE
-
PUNCH
-
FLAME
-
RIPTIDE
-
BLAST_PROTECTION
-
FROST_WALKER
-
PROTECTION
-
FIRE_ASPECT
-
LOYALTY
-
SWEEPING_EDGE
-
FIRE_PROTECTION
-
QUICK_CHARGE
-
RESPIRATION
-
LUCK_OF_THE_SEA
-
SOUL_SPEED
-
DENSITY
-
POWER
-
SILK_TOUCH
-
CHANNELING
-
FORTUNE
-
LOOTING
-
BREACH
-
PIERCING
-
MENDING
-
FEATHER_FALLING
-
SHARPNESS
-
KNOCKBACK
-
SMITE
-
INFINITY
-
PROJECTILE_PROTECTION
-
THORNS
-
AQUA_AFFINITY
-
LURE
-
MULTISHOT
-
SWIFT_SNEAK
-
UNBREAKING
-
-
Method Details
-
builder
-
createDefaultRegistry
@Internal @NotNull static @NotNull DynamicRegistry<Enchantment> createDefaultRegistry(@NotNull @NotNull Registries registries) Creates a new registry for enchantments, loading the vanilla enchantments.
- See Also:
-
description
-
exclusiveSet
-
supportedItems
-
-
weight
int weight() -
maxLevel
int maxLevel() -
minCost
-
maxCost
-
anvilCost
int anvilCost() -
slots
-
effects
-
registry
- Specified by:
registry
in interfaceProtocolObject
-