ServerInterface .java

net.minecraft.server.ServerInterface (interface): members: getLevelIdName, getPlayerNames, getPluginNames, getServerName, getServerPort, getServerIp.

net.minecraft.serverinterface22 linesserverextends ServerInfo390 B

API Surface (0)

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

Code Graph: Dependencies (2)

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

Full Source

ServerInterface.java22 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.server;
2
3
import net.minecraft.server.dedicated.DedicatedServerProperties;
4
5
public interface ServerInterface extends ServerInfo {
6
	DedicatedServerProperties getProperties();
7
8
	String getServerIp();
9
10
	int getServerPort();
11
12
	String getServerName();
13
14
	String[] getPlayerNames();
15
16
	String getLevelIdName();
17
18
	String getPluginNames();
19
20
	String runCommand(String command);
21
}
22

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