GameEventTags .java

net.minecraft.tags.GameEventTags (class): members: IGNORE_VIBRATIONS_SNEAKING, SHRIEKER_CAN_LISTEN, WARDEN_CAN_LISTEN, ALLAY_CAN_LISTEN, VIBRATIONS.

net.minecraft.tagsclass18 linescommon805 B

API Surface (0)

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

Fields & Constants (5)

VIBRATIONS
WARDEN_CAN_LISTEN
SHRIEKER_CAN_LISTEN
IGNORE_VIBRATIONS_SNEAKING
ALLAY_CAN_LISTEN

String literals (5)

"vibrations"
"warden_can_listen"
"shrieker_can_listen"
"ignore_vibrations_sneaking"
"allay_can_listen"

Code Graph: Dependencies (4)

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

Full Source

GameEventTags.java18 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.level.gameevent.GameEvent;
6
7
public class GameEventTags {
8
	public static final TagKey<GameEvent> VIBRATIONS = create("vibrations");
9
	public static final TagKey<GameEvent> WARDEN_CAN_LISTEN = create("warden_can_listen");
10
	public static final TagKey<GameEvent> SHRIEKER_CAN_LISTEN = create("shrieker_can_listen");
11
	public static final TagKey<GameEvent> IGNORE_VIBRATIONS_SNEAKING = create("ignore_vibrations_sneaking");
12
	public static final TagKey<GameEvent> ALLAY_CAN_LISTEN = create("allay_can_listen");
13
14
	private static TagKey<GameEvent> create(final String name) {
15
		return TagKey.create(Registries.GAME_EVENT, Identifier.withDefaultNamespace(name));
16
	}
17
}
18

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