Package io.papermc.paper.registry.keys
Class EnchantmentKeys
java.lang.Object
io.papermc.paper.registry.keys.EnchantmentKeys
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
FieldsModifier and TypeFieldDescriptionstatic final TypedKey<Enchantment> minecraft:aqua_affinitystatic final TypedKey<Enchantment> minecraft:bane_of_arthropodsstatic final TypedKey<Enchantment> minecraft:binding_cursestatic final TypedKey<Enchantment> minecraft:blast_protectionstatic final TypedKey<Enchantment> minecraft:breachstatic final TypedKey<Enchantment> minecraft:channelingstatic final TypedKey<Enchantment> minecraft:densitystatic final TypedKey<Enchantment> minecraft:depth_striderstatic final TypedKey<Enchantment> minecraft:efficiencystatic final TypedKey<Enchantment> minecraft:feather_fallingstatic final TypedKey<Enchantment> minecraft:fire_aspectstatic final TypedKey<Enchantment> minecraft:fire_protectionstatic final TypedKey<Enchantment> minecraft:flamestatic final TypedKey<Enchantment> minecraft:fortunestatic final TypedKey<Enchantment> minecraft:frost_walkerstatic final TypedKey<Enchantment> minecraft:impalingstatic final TypedKey<Enchantment> minecraft:infinitystatic final TypedKey<Enchantment> minecraft:knockbackstatic final TypedKey<Enchantment> minecraft:lootingstatic final TypedKey<Enchantment> minecraft:loyaltystatic final TypedKey<Enchantment> minecraft:luck_of_the_seastatic final TypedKey<Enchantment> minecraft:lurestatic final TypedKey<Enchantment> minecraft:mendingstatic final TypedKey<Enchantment> minecraft:multishotstatic final TypedKey<Enchantment> minecraft:piercingstatic final TypedKey<Enchantment> minecraft:powerstatic final TypedKey<Enchantment> minecraft:projectile_protectionstatic final TypedKey<Enchantment> minecraft:protectionstatic final TypedKey<Enchantment> minecraft:punchstatic final TypedKey<Enchantment> minecraft:quick_chargestatic final TypedKey<Enchantment> minecraft:respirationstatic final TypedKey<Enchantment> minecraft:riptidestatic final TypedKey<Enchantment> minecraft:sharpnessstatic final TypedKey<Enchantment> minecraft:silk_touchstatic final TypedKey<Enchantment> minecraft:smitestatic final TypedKey<Enchantment> minecraft:soul_speedstatic final TypedKey<Enchantment> minecraft:sweeping_edgestatic final TypedKey<Enchantment> minecraft:swift_sneakstatic final TypedKey<Enchantment> minecraft:thornsstatic final TypedKey<Enchantment> minecraft:unbreakingstatic final TypedKey<Enchantment> minecraft:vanishing_cursestatic final TypedKey<Enchantment> minecraft:wind_burst -
Method Summary
Modifier and TypeMethodDescriptionstatic TypedKey<Enchantment> Creates a typed key forEnchantmentin 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 typed key forEnchantmentin the registryminecraft:enchantment.- Parameters:
key- the value's key in the registry- Returns:
- a new typed key
-