Package io.papermc.paper.registry.keys
Class EnchantmentKeys
java.lang.Object
io.papermc.paper.registry.keys.EnchantmentKeys
@GeneratedFrom("1.21.3")
@NullMarked
@Experimental
public final class EnchantmentKeys
extends Object
Vanilla keys for
RegistryKey.ENCHANTMENT
.- API Note:
- The fields provided here are a direct representation of what is available from the vanilla game source. They may be changed (including removals) on any Minecraft version bump, so cross-version compatibility is not provided on the same level as it is on most of the other API.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TypedKey
<Enchantment> minecraft:aqua_affinity
static final TypedKey
<Enchantment> minecraft:bane_of_arthropods
static final TypedKey
<Enchantment> minecraft:binding_curse
static final TypedKey
<Enchantment> minecraft:blast_protection
static final TypedKey
<Enchantment> minecraft:breach
static final TypedKey
<Enchantment> minecraft:channeling
static final TypedKey
<Enchantment> minecraft:density
static final TypedKey
<Enchantment> minecraft:depth_strider
static final TypedKey
<Enchantment> minecraft:efficiency
static final TypedKey
<Enchantment> minecraft:feather_falling
static final TypedKey
<Enchantment> minecraft:fire_aspect
static final TypedKey
<Enchantment> minecraft:fire_protection
static final TypedKey
<Enchantment> minecraft:flame
static final TypedKey
<Enchantment> minecraft:fortune
static final TypedKey
<Enchantment> minecraft:frost_walker
static final TypedKey
<Enchantment> minecraft:impaling
static final TypedKey
<Enchantment> minecraft:infinity
static final TypedKey
<Enchantment> minecraft:knockback
static final TypedKey
<Enchantment> minecraft:looting
static final TypedKey
<Enchantment> minecraft:loyalty
static final TypedKey
<Enchantment> minecraft:luck_of_the_sea
static final TypedKey
<Enchantment> minecraft:lure
static final TypedKey
<Enchantment> minecraft:mending
static final TypedKey
<Enchantment> minecraft:multishot
static final TypedKey
<Enchantment> minecraft:piercing
static final TypedKey
<Enchantment> minecraft:power
static final TypedKey
<Enchantment> minecraft:projectile_protection
static final TypedKey
<Enchantment> minecraft:protection
static final TypedKey
<Enchantment> minecraft:punch
static final TypedKey
<Enchantment> minecraft:quick_charge
static final TypedKey
<Enchantment> minecraft:respiration
static final TypedKey
<Enchantment> minecraft:riptide
static final TypedKey
<Enchantment> minecraft:sharpness
static final TypedKey
<Enchantment> minecraft:silk_touch
static final TypedKey
<Enchantment> minecraft:smite
static final TypedKey
<Enchantment> minecraft:soul_speed
static final TypedKey
<Enchantment> minecraft:sweeping_edge
static final TypedKey
<Enchantment> minecraft:swift_sneak
static final TypedKey
<Enchantment> minecraft:thorns
static final TypedKey
<Enchantment> minecraft:unbreaking
static final TypedKey
<Enchantment> minecraft:vanishing_curse
static final TypedKey
<Enchantment> minecraft:wind_burst
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypedKey
<Enchantment> Creates a key forEnchantment
in the registryminecraft:enchantment
.
-
Field Details
-
AQUA_AFFINITY
minecraft:aqua_affinity
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
BANE_OF_ARTHROPODS
minecraft:bane_of_arthropods
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
BINDING_CURSE
minecraft:binding_curse
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
BLAST_PROTECTION
minecraft:blast_protection
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
BREACH
minecraft:breach
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
CHANNELING
minecraft:channeling
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
DENSITY
minecraft:density
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
DEPTH_STRIDER
minecraft:depth_strider
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
EFFICIENCY
minecraft:efficiency
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FEATHER_FALLING
minecraft:feather_falling
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FIRE_ASPECT
minecraft:fire_aspect
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FIRE_PROTECTION
minecraft:fire_protection
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FLAME
minecraft:flame
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FORTUNE
minecraft:fortune
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FROST_WALKER
minecraft:frost_walker
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
IMPALING
minecraft:impaling
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
INFINITY
minecraft:infinity
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
KNOCKBACK
minecraft:knockback
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
LOOTING
minecraft:looting
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
LOYALTY
minecraft:loyalty
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
LUCK_OF_THE_SEA
minecraft:luck_of_the_sea
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
LURE
minecraft:lure
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
MENDING
minecraft:mending
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
MULTISHOT
minecraft:multishot
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
PIERCING
minecraft:piercing
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
POWER
minecraft:power
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
PROJECTILE_PROTECTION
minecraft:projectile_protection
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
PROTECTION
minecraft:protection
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
PUNCH
minecraft:punch
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
QUICK_CHARGE
minecraft:quick_charge
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
RESPIRATION
minecraft:respiration
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
RIPTIDE
minecraft:riptide
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SHARPNESS
minecraft:sharpness
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SILK_TOUCH
minecraft:silk_touch
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SMITE
minecraft:smite
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SOUL_SPEED
minecraft:soul_speed
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SWEEPING_EDGE
minecraft:sweeping_edge
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SWIFT_SNEAK
minecraft:swift_sneak
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
THORNS
minecraft:thorns
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
UNBREAKING
minecraft:unbreaking
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
VANISHING_CURSE
minecraft:vanishing_curse
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
WIND_BURST
minecraft:wind_burst
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
-
Method Details
-
create
Creates a key forEnchantment
in the registryminecraft:enchantment
.- Parameters:
key
- the value's key in the registry- Returns:
- a new typed key
-