TimelineTags .java

net.minecraft.tags.TimelineTags (interface): members: IN_OVERWORLD, IN_NETHER, UNIVERSAL, IN_END, create. strings: "in_overworld", "universal", "in_end".

net.minecraft.tagsinterface17 linescommon555 B

API Surface (0)

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

Fields & Constants (4)

UNIVERSAL
IN_OVERWORLD
IN_NETHER
IN_END

String literals (4)

"universal"
"in_overworld"
"in_nether"
"in_end"

Code Graph: Dependencies (4)

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

Full Source

TimelineTags.java17 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.tags;
2
3
import net.minecraft.core.registries.Registries;
4
import net.minecraft.resources.Identifier;
5
import net.minecraft.world.timeline.Timeline;
6
7
public interface TimelineTags {
8
	TagKey<Timeline> UNIVERSAL = create("universal");
9
	TagKey<Timeline> IN_OVERWORLD = create("in_overworld");
10
	TagKey<Timeline> IN_NETHER = create("in_nether");
11
	TagKey<Timeline> IN_END = create("in_end");
12
13
	private static TagKey<Timeline> create(final String name) {
14
		return TagKey.create(Registries.TIMELINE, Identifier.withDefaultNamespace(name));
15
	}
16
}
17

Decompiled Minecraft 26.3 source of TimelineTags (net/minecraft/tags/TimelineTags.java) with Mojang official mappings, stored verbatim on the site.