package io.papermc.paper.registry.keys; import static net.kyori.adventure.key.Key.key; import io.papermc.paper.generated.GeneratedFrom; import io.papermc.paper.registry.RegistryKey; import io.papermc.paper.registry.TypedKey; import net.kyori.adventure.key.Key; import org.bukkit.enchantments.Enchantment; import org.checkerframework.checker.nullness.qual.NonNull; import org.jetbrains.annotations.ApiStatus; /** * Vanilla keys for {@link RegistryKey#ENCHANTMENT}. * * @apiNote 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. */ @SuppressWarnings({ "unused", "SpellCheckingInspection" }) @GeneratedFrom("1.21.3") @ApiStatus.Experimental public final class EnchantmentKeys { /** * {@code minecraft:aqua_affinity} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey AQUA_AFFINITY = create(key("aqua_affinity")); /** * {@code minecraft:bane_of_arthropods} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BANE_OF_ARTHROPODS = create(key("bane_of_arthropods")); /** * {@code minecraft:binding_curse} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BINDING_CURSE = create(key("binding_curse")); /** * {@code minecraft:blast_protection} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BLAST_PROTECTION = create(key("blast_protection")); /** * {@code minecraft:breach} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BREACH = create(key("breach")); /** * {@code minecraft:channeling} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey CHANNELING = create(key("channeling")); /** * {@code minecraft:density} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey DENSITY = create(key("density")); /** * {@code minecraft:depth_strider} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey DEPTH_STRIDER = create(key("depth_strider")); /** * {@code minecraft:efficiency} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey EFFICIENCY = create(key("efficiency")); /** * {@code minecraft:feather_falling} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FEATHER_FALLING = create(key("feather_falling")); /** * {@code minecraft:fire_aspect} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FIRE_ASPECT = create(key("fire_aspect")); /** * {@code minecraft:fire_protection} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FIRE_PROTECTION = create(key("fire_protection")); /** * {@code minecraft:flame} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FLAME = create(key("flame")); /** * {@code minecraft:fortune} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FORTUNE = create(key("fortune")); /** * {@code minecraft:frost_walker} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FROST_WALKER = create(key("frost_walker")); /** * {@code minecraft:impaling} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey IMPALING = create(key("impaling")); /** * {@code minecraft:infinity} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey INFINITY = create(key("infinity")); /** * {@code minecraft:knockback} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey KNOCKBACK = create(key("knockback")); /** * {@code minecraft:looting} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey LOOTING = create(key("looting")); /** * {@code minecraft:loyalty} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey LOYALTY = create(key("loyalty")); /** * {@code minecraft:luck_of_the_sea} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey LUCK_OF_THE_SEA = create(key("luck_of_the_sea")); /** * {@code minecraft:lure} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey LURE = create(key("lure")); /** * {@code minecraft:mending} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey MENDING = create(key("mending")); /** * {@code minecraft:multishot} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey MULTISHOT = create(key("multishot")); /** * {@code minecraft:piercing} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey PIERCING = create(key("piercing")); /** * {@code minecraft:power} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey POWER = create(key("power")); /** * {@code minecraft:projectile_protection} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey PROJECTILE_PROTECTION = create(key("projectile_protection")); /** * {@code minecraft:protection} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey PROTECTION = create(key("protection")); /** * {@code minecraft:punch} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey PUNCH = create(key("punch")); /** * {@code minecraft:quick_charge} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey QUICK_CHARGE = create(key("quick_charge")); /** * {@code minecraft:respiration} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESPIRATION = create(key("respiration")); /** * {@code minecraft:riptide} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RIPTIDE = create(key("riptide")); /** * {@code minecraft:sharpness} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SHARPNESS = create(key("sharpness")); /** * {@code minecraft:silk_touch} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SILK_TOUCH = create(key("silk_touch")); /** * {@code minecraft:smite} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SMITE = create(key("smite")); /** * {@code minecraft:soul_speed} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SOUL_SPEED = create(key("soul_speed")); /** * {@code minecraft:sweeping_edge} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SWEEPING_EDGE = create(key("sweeping_edge")); /** * {@code minecraft:swift_sneak} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SWIFT_SNEAK = create(key("swift_sneak")); /** * {@code minecraft:thorns} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey THORNS = create(key("thorns")); /** * {@code minecraft:unbreaking} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey UNBREAKING = create(key("unbreaking")); /** * {@code minecraft:vanishing_curse} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey VANISHING_CURSE = create(key("vanishing_curse")); /** * {@code minecraft:wind_burst} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey WIND_BURST = create(key("wind_burst")); private EnchantmentKeys() { } private static @NonNull TypedKey create(final @NonNull Key key) { return TypedKey.create(RegistryKey.ENCHANTMENT, key); } }