PotionIds .java

net.minecraft.world.item.alchemy.PotionIds (class): members: LONG_FIRE_RESISTANCE, LONG_WATER_BREATHING, STRONG_TURTLE_MASTER, STRONG_REGENERATION, THICK.

net.minecraft.world.item.alchemyclass59 linescommon4.0 KB

API Surface (0)

No public/protected methods detected (fields or constants only).

Fields & Constants (46)

WATER
MUNDANE
THICK
AWKWARD
NIGHT_VISION
LONG_NIGHT_VISION
INVISIBILITY
LONG_INVISIBILITY
LEAPING
LONG_LEAPING
STRONG_LEAPING
FIRE_RESISTANCE
LONG_FIRE_RESISTANCE
SWIFTNESS
LONG_SWIFTNESS
STRONG_SWIFTNESS
SLOWNESS
LONG_SLOWNESS
STRONG_SLOWNESS
TURTLE_MASTER
LONG_TURTLE_MASTER
STRONG_TURTLE_MASTER
WATER_BREATHING
LONG_WATER_BREATHING
HEALING
STRONG_HEALING
HARMING
STRONG_HARMING
POISON
LONG_POISON
STRONG_POISON
REGENERATION
LONG_REGENERATION
STRONG_REGENERATION
STRENGTH
LONG_STRENGTH
STRONG_STRENGTH
WEAKNESS
LONG_WEAKNESS
LUCK
SLOW_FALLING
LONG_SLOW_FALLING
WIND_CHARGED
WEAVING
OOZING
INFESTED

String literals (46)

"water"
"mundane"
"thick"
"awkward"
"night_vision"
"long_night_vision"
"invisibility"
"long_invisibility"
"leaping"
"long_leaping"
"strong_leaping"
"fire_resistance"
"long_fire_resistance"
"swiftness"
"long_swiftness"
"strong_swiftness"
"slowness"
"long_slowness"
"strong_slowness"
"turtle_master"
"long_turtle_master"
"strong_turtle_master"
"water_breathing"
"long_water_breathing"

Code Graph: Dependencies (4)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

PotionIds.java59 lines · Minecraft 26.3 · verbatim
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

Decompiled Minecraft 26.3 source of PotionIds (net/minecraft/world/item/alchemy/PotionIds.java) with Mojang official mappings, stored verbatim on the site.