Class ChaseServer

java.lang.Object
net.minecraft.server.chase.ChaseServer

public class ChaseServer extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • serverBindAddress

      private final String serverBindAddress
    • serverPort

      private final int serverPort
    • playerList

      private final PlayerList playerList
    • broadcastIntervalMs

      private final int broadcastIntervalMs
    • wantsToRun

      private volatile boolean wantsToRun
    • serverSocket

      @Nullable private ServerSocket serverSocket
    • clientSockets

      private final CopyOnWriteArrayList<Socket> clientSockets
  • Constructor Details

    • ChaseServer

      public ChaseServer(String p_196032_, int p_196033_, PlayerList p_196034_, int p_196035_)
  • Method Details

    • start

      public void start() throws IOException
      Throws:
      IOException
    • runSender

      private void runSender()
    • stop

      public void stop()
    • runAcceptor

      private void runAcceptor()
    • getPlayerPosition

      @Nullable private ChaseServer.PlayerPosition getPlayerPosition()