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.potion.PotionEffectType; import org.checkerframework.checker.nullness.qual.NonNull; import org.jetbrains.annotations.ApiStatus; /** * Vanilla keys for {@link RegistryKey#MOB_EFFECT}. * * @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.1") @ApiStatus.Experimental public final class MobEffectKeys { /** * {@code minecraft:absorption} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey ABSORPTION = create(key("absorption")); /** * {@code minecraft:bad_omen} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BAD_OMEN = create(key("bad_omen")); /** * {@code minecraft:blindness} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BLINDNESS = create(key("blindness")); /** * {@code minecraft:conduit_power} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey CONDUIT_POWER = create(key("conduit_power")); /** * {@code minecraft:darkness} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey DARKNESS = create(key("darkness")); /** * {@code minecraft:dolphins_grace} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey DOLPHINS_GRACE = create(key("dolphins_grace")); /** * {@code minecraft:fire_resistance} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FIRE_RESISTANCE = create(key("fire_resistance")); /** * {@code minecraft:glowing} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey GLOWING = create(key("glowing")); /** * {@code minecraft:haste} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey HASTE = create(key("haste")); /** * {@code minecraft:health_boost} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey HEALTH_BOOST = create(key("health_boost")); /** * {@code minecraft:hero_of_the_village} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey HERO_OF_THE_VILLAGE = create(key("hero_of_the_village")); /** * {@code minecraft:hunger} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey HUNGER = create(key("hunger")); /** * {@code minecraft:infested} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey INFESTED = create(key("infested")); /** * {@code minecraft:instant_damage} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey INSTANT_DAMAGE = create(key("instant_damage")); /** * {@code minecraft:instant_health} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey INSTANT_HEALTH = create(key("instant_health")); /** * {@code minecraft:invisibility} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey INVISIBILITY = create(key("invisibility")); /** * {@code minecraft:jump_boost} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey JUMP_BOOST = create(key("jump_boost")); /** * {@code minecraft:levitation} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey LEVITATION = create(key("levitation")); /** * {@code minecraft:luck} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey LUCK = create(key("luck")); /** * {@code minecraft:mining_fatigue} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey MINING_FATIGUE = create(key("mining_fatigue")); /** * {@code minecraft:nausea} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey NAUSEA = create(key("nausea")); /** * {@code minecraft:night_vision} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey NIGHT_VISION = create(key("night_vision")); /** * {@code minecraft:oozing} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey OOZING = create(key("oozing")); /** * {@code minecraft:poison} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey POISON = create(key("poison")); /** * {@code minecraft:raid_omen} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RAID_OMEN = create(key("raid_omen")); /** * {@code minecraft:regeneration} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey REGENERATION = create(key("regeneration")); /** * {@code minecraft:resistance} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESISTANCE = create(key("resistance")); /** * {@code minecraft:saturation} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SATURATION = create(key("saturation")); /** * {@code minecraft:slow_falling} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SLOW_FALLING = create(key("slow_falling")); /** * {@code minecraft:slowness} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SLOWNESS = create(key("slowness")); /** * {@code minecraft:speed} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SPEED = create(key("speed")); /** * {@code minecraft:strength} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey STRENGTH = create(key("strength")); /** * {@code minecraft:trial_omen} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey TRIAL_OMEN = create(key("trial_omen")); /** * {@code minecraft:unluck} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey UNLUCK = create(key("unluck")); /** * {@code minecraft:water_breathing} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey WATER_BREATHING = create(key("water_breathing")); /** * {@code minecraft:weakness} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey WEAKNESS = create(key("weakness")); /** * {@code minecraft:weaving} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey WEAVING = create(key("weaving")); /** * {@code minecraft:wind_charged} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey WIND_CHARGED = create(key("wind_charged")); /** * {@code minecraft:wither} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey WITHER = create(key("wither")); private MobEffectKeys() { } private static @NonNull TypedKey create(final @NonNull Key key) { return TypedKey.create(RegistryKey.MOB_EFFECT, key); } }