Class ServerNetworkIo

java.lang.Object
net.minecraft.server.ServerNetworkIo

public class ServerNetworkIo
extends Object
Mappings:
Namespace Name
official abm
intermediary net/minecraft/class_3242
named net/minecraft/server/ServerNetworkIo
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official d Labm;d:Lorg/apache/logging/log4j/Logger;
      intermediary field_14110 Lnet/minecraft/class_3242;field_14110:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/server/ServerNetworkIo;LOGGER:Lorg/apache/logging/log4j/Logger;
    • DEFAULT_CHANNEL

      public static final Lazy<NioEventLoopGroup> DEFAULT_CHANNEL
      Mappings:
      Namespace Name Mixin selector
      official a Labm;a:Lafz;
      intermediary field_14111 Lnet/minecraft/class_3242;field_14111:Lnet/minecraft/class_3528;
      named DEFAULT_CHANNEL Lnet/minecraft/server/ServerNetworkIo;DEFAULT_CHANNEL:Lnet/minecraft/util/Lazy;
    • EPOLL_CHANNEL

      public static final Lazy<EpollEventLoopGroup> EPOLL_CHANNEL
      Mappings:
      Namespace Name Mixin selector
      official b Labm;b:Lafz;
      intermediary field_14105 Lnet/minecraft/class_3242;field_14105:Lnet/minecraft/class_3528;
      named EPOLL_CHANNEL Lnet/minecraft/server/ServerNetworkIo;EPOLL_CHANNEL:Lnet/minecraft/util/Lazy;
    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official e Labm;e:Lnet/minecraft/server/MinecraftServer;
      intermediary field_14109 Lnet/minecraft/class_3242;field_14109:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/server/ServerNetworkIo;server:Lnet/minecraft/server/MinecraftServer;
    • active

      public volatile boolean active
      Mappings:
      Namespace Name Mixin selector
      official c Labm;c:Z
      intermediary field_14108 Lnet/minecraft/class_3242;field_14108:Z
      named active Lnet/minecraft/server/ServerNetworkIo;active:Z
    • channels

      private final List<ChannelFuture> channels
      Mappings:
      Namespace Name Mixin selector
      official f Labm;f:Ljava/util/List;
      intermediary field_14106 Lnet/minecraft/class_3242;field_14106:Ljava/util/List;
      named channels Lnet/minecraft/server/ServerNetworkIo;channels:Ljava/util/List;
    • connections

      private final List<ClientConnection> connections
      Mappings:
      Namespace Name Mixin selector
      official g Labm;g:Ljava/util/List;
      intermediary field_14107 Lnet/minecraft/class_3242;field_14107:Ljava/util/List;
      named connections Lnet/minecraft/server/ServerNetworkIo;connections:Ljava/util/List;
  • Constructor Details

    • ServerNetworkIo

      public ServerNetworkIo​(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labm;<init>(Lnet/minecraft/server/MinecraftServer;)V
      intermediary <init> Lnet/minecraft/class_3242;<init>(Lnet/minecraft/server/MinecraftServer;)V
      named <init> Lnet/minecraft/server/ServerNetworkIo;<init>(Lnet/minecraft/server/MinecraftServer;)V
  • Method Details

    • bind

      public void bind​(@Nullable InetAddress address, int port) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Labm;a(Ljava/net/InetAddress;I)V
      intermediary method_14354 Lnet/minecraft/class_3242;method_14354(Ljava/net/InetAddress;I)V
      named bind Lnet/minecraft/server/ServerNetworkIo;bind(Ljava/net/InetAddress;I)V
    • bindLocal

      @Environment(CLIENT) public SocketAddress bindLocal()
      Mappings:
      Namespace Name Mixin selector
      official a Labm;a()Ljava/net/SocketAddress;
      intermediary method_14353 Lnet/minecraft/class_3242;method_14353()Ljava/net/SocketAddress;
      named bindLocal Lnet/minecraft/server/ServerNetworkIo;bindLocal()Ljava/net/SocketAddress;
    • stop

      public void stop()
      Mappings:
      Namespace Name Mixin selector
      official b Labm;b()V
      intermediary method_14356 Lnet/minecraft/class_3242;method_14356()V
      named stop Lnet/minecraft/server/ServerNetworkIo;stop()V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official c Labm;c()V
      intermediary method_14357 Lnet/minecraft/class_3242;method_14357()V
      named tick Lnet/minecraft/server/ServerNetworkIo;tick()V
    • getServer

      public MinecraftServer getServer()
      Mappings:
      Namespace Name Mixin selector
      official d Labm;d()Lnet/minecraft/server/MinecraftServer;
      intermediary method_14351 Lnet/minecraft/class_3242;method_14351()Lnet/minecraft/server/MinecraftServer;
      named getServer Lnet/minecraft/server/ServerNetworkIo;getServer()Lnet/minecraft/server/MinecraftServer;