DialogConnectionAccess .java

net.minecraft.client.gui.screens.dialog.DialogConnectionAccess (interface): members: sendCustomAction, runCommand, openDialog, serverLinks, disconnect.

net.minecraft.client.gui.screens.dialoginterface27 linesclient815 B

API Surface (0)

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

Code Graph: Dependencies (7)

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

Full Source

DialogConnectionAccess.java27 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.gui.screens.dialog;
2
3
import java.util.Optional;
4
import net.fabricmc.api.EnvType;
5
import net.fabricmc.api.Environment;
6
import net.minecraft.client.gui.screens.Screen;
7
import net.minecraft.core.Holder;
8
import net.minecraft.nbt.Tag;
9
import net.minecraft.network.chat.Component;
10
import net.minecraft.resources.Identifier;
11
import net.minecraft.server.ServerLinks;
12
import net.minecraft.server.dialog.Dialog;
13
import org.jspecify.annotations.Nullable;
14
15
@Environment(EnvType.CLIENT)
16
public interface DialogConnectionAccess {
17
	void disconnect(Component message);
18
19
	void runCommand(String command, @Nullable Screen activeScreen);
20
21
	void openDialog(Holder<Dialog> dialog, @Nullable Screen activeScreen);
22
23
	void sendCustomAction(Identifier id, Optional<Tag> payload);
24
25
	ServerLinks serverLinks();
26
}
27

Decompiled Minecraft 26.3 source of DialogConnectionAccess (net/minecraft/client/gui/screens/dialog/DialogConnectionAccess.java) with Mojang official mappings, stored verbatim on the site.