Class NetworkSystem

java.lang.Object
net.minecraft.network.NetworkSystem

public class NetworkSystem extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • READ_TIMEOUT

      private static final int READ_TIMEOUT
    • SERVER_EVENT_GROUP

      public static final LazyValue<io.netty.channel.nio.NioEventLoopGroup> SERVER_EVENT_GROUP
    • SERVER_EPOLL_EVENT_GROUP

      public static final LazyValue<io.netty.channel.epoll.EpollEventLoopGroup> SERVER_EPOLL_EVENT_GROUP
    • server

      private final MinecraftServer server
    • running

      public volatile boolean running
    • channels

      private final List<io.netty.channel.ChannelFuture> channels
    • connections

      private final List<NetworkManager> connections
  • Constructor Details

  • Method Details

    • startTcpServerListener

      public void startTcpServerListener(@Nullable InetAddress p_151265_1_, int p_151265_2_) throws IOException
      Throws:
      IOException
    • startMemoryChannel

      public SocketAddress startMemoryChannel()
    • stop

      public void stop()
    • tick

      public void tick()
    • getServer

      public MinecraftServer getServer()