Package net.minecraft.server.chase
Class ChaseClient
java.lang.Object
net.minecraft.server.chase.ChaseClient
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private static final int
private final MinecraftServer
private final String
private final int
private Socket
private Thread
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
executeCommand
(String p_196002_) private void
handleMessage
(String p_195995_) private void
handleTeleport
(Scanner p_195997_) private Optional<ChaseClient.TeleportTarget>
parseTarget
(Scanner p_196004_) void
run()
void
start()
void
stop()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
RECONNECT_INTERVAL_SECONDS
private static final int RECONNECT_INTERVAL_SECONDS- See Also:
-
serverHost
-
serverPort
private final int serverPort -
server
-
wantsToRun
private volatile boolean wantsToRun -
socket
-
thread
-
-
Constructor Details
-
ChaseClient
-
-
Method Details
-
start
public void start() -
stop
public void stop() -
run
public void run() -
handleMessage
-
handleTeleport
-
parseTarget
-
executeCommand
-