| 1 | package net.minecraft.world.item.alchemy;
|
| 2 |
|
| 3 | import net.minecraft.core.registries.Registries;
|
| 4 | import net.minecraft.resources.Identifier;
|
| 5 | import net.minecraft.resources.ResourceKey;
|
| 6 |
|
| 7 | public class PotionIds {
|
| 8 | public static final ResourceKey<Potion> WATER = register("water");
|
| 9 | public static final ResourceKey<Potion> MUNDANE = register("mundane");
|
| 10 | public static final ResourceKey<Potion> THICK = register("thick");
|
| 11 | public static final ResourceKey<Potion> AWKWARD = register("awkward");
|
| 12 | public static final ResourceKey<Potion> NIGHT_VISION = register("night_vision");
|
| 13 | public static final ResourceKey<Potion> LONG_NIGHT_VISION = register("long_night_vision");
|
| 14 | public static final ResourceKey<Potion> INVISIBILITY = register("invisibility");
|
| 15 | public static final ResourceKey<Potion> LONG_INVISIBILITY = register("long_invisibility");
|
| 16 | public static final ResourceKey<Potion> LEAPING = register("leaping");
|
| 17 | public static final ResourceKey<Potion> LONG_LEAPING = register("long_leaping");
|
| 18 | public static final ResourceKey<Potion> STRONG_LEAPING = register("strong_leaping");
|
| 19 | public static final ResourceKey<Potion> FIRE_RESISTANCE = register("fire_resistance");
|
| 20 | public static final ResourceKey<Potion> LONG_FIRE_RESISTANCE = register("long_fire_resistance");
|
| 21 | public static final ResourceKey<Potion> SWIFTNESS = register("swiftness");
|
| 22 | public static final ResourceKey<Potion> LONG_SWIFTNESS = register("long_swiftness");
|
| 23 | public static final ResourceKey<Potion> STRONG_SWIFTNESS = register("strong_swiftness");
|
| 24 | public static final ResourceKey<Potion> SLOWNESS = register("slowness");
|
| 25 | public static final ResourceKey<Potion> LONG_SLOWNESS = register("long_slowness");
|
| 26 | public static final ResourceKey<Potion> STRONG_SLOWNESS = register("strong_slowness");
|
| 27 | public static final ResourceKey<Potion> TURTLE_MASTER = register("turtle_master");
|
| 28 | public static final ResourceKey<Potion> LONG_TURTLE_MASTER = register("long_turtle_master");
|
| 29 | public static final ResourceKey<Potion> STRONG_TURTLE_MASTER = register("strong_turtle_master");
|
| 30 | public static final ResourceKey<Potion> WATER_BREATHING = register("water_breathing");
|
| 31 | public static final ResourceKey<Potion> LONG_WATER_BREATHING = register("long_water_breathing");
|
| 32 | public static final ResourceKey<Potion> HEALING = register("healing");
|
| 33 | public static final ResourceKey<Potion> STRONG_HEALING = register("strong_healing");
|
| 34 | public static final ResourceKey<Potion> HARMING = register("harming");
|
| 35 | public static final ResourceKey<Potion> STRONG_HARMING = register("strong_harming");
|
| 36 | public static final ResourceKey<Potion> POISON = register("poison");
|
| 37 | public static final ResourceKey<Potion> LONG_POISON = register("long_poison");
|
| 38 | public static final ResourceKey<Potion> STRONG_POISON = register("strong_poison");
|
| 39 | public static final ResourceKey<Potion> REGENERATION = register("regeneration");
|
| 40 | public static final ResourceKey<Potion> LONG_REGENERATION = register("long_regeneration");
|
| 41 | public static final ResourceKey<Potion> STRONG_REGENERATION = register("strong_regeneration");
|
| 42 | public static final ResourceKey<Potion> STRENGTH = register("strength");
|
| 43 | public static final ResourceKey<Potion> LONG_STRENGTH = register("long_strength");
|
| 44 | public static final ResourceKey<Potion> STRONG_STRENGTH = register("strong_strength");
|
| 45 | public static final ResourceKey<Potion> WEAKNESS = register("weakness");
|
| 46 | public static final ResourceKey<Potion> LONG_WEAKNESS = register("long_weakness");
|
| 47 | public static final ResourceKey<Potion> LUCK = register("luck");
|
| 48 | public static final ResourceKey<Potion> SLOW_FALLING = register("slow_falling");
|
| 49 | public static final ResourceKey<Potion> LONG_SLOW_FALLING = register("long_slow_falling");
|
| 50 | public static final ResourceKey<Potion> WIND_CHARGED = register("wind_charged");
|
| 51 | public static final ResourceKey<Potion> WEAVING = register("weaving");
|
| 52 | public static final ResourceKey<Potion> OOZING = register("oozing");
|
| 53 | public static final ResourceKey<Potion> INFESTED = register("infested");
|
| 54 |
|
| 55 | private static ResourceKey<Potion> register(final String name) {
|
| 56 | return ResourceKey.create(Registries.POTION, Identifier.withDefaultNamespace(name));
|
| 57 | }
|
| 58 | }
|
| 59 |
|