Package net.minecraft.server.chase
Class ChaseServer
java.lang.Object
net.minecraft.server.chase.ChaseServer
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final CopyOnWriteArrayList
<Socket> private static final org.slf4j.Logger
private final PlayerList
private final String
private final int
private ServerSocket
private boolean
-
Constructor Summary
ConstructorDescriptionChaseServer
(String p_196032_, int p_196033_, PlayerList p_196034_, int p_196035_) -
Method Summary
Modifier and TypeMethodDescriptionprivate ChaseServer.PlayerPosition
private void
private void
void
start()
void
stop()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
serverBindAddress
-
serverPort
private final int serverPort -
playerList
-
broadcastIntervalMs
private final int broadcastIntervalMs -
wantsToRun
private volatile boolean wantsToRun -
serverSocket
-
clientSockets
-
-
Constructor Details
-
ChaseServer
-
-
Method Details
-
start
- Throws:
IOException
-
runSender
private void runSender() -
stop
public void stop() -
runAcceptor
private void runAcceptor() -
getPlayerPosition
-