Class ServerNetworkIo

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official e Lll;e:Lorg/apache/logging/log4j/Logger;
      intermediary field_6707 Lnet/minecraft/class_1642;field_6707: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 Lll;a:Lno;
      intermediary field_6703 Lnet/minecraft/class_1642;field_6703:Lnet/minecraft/class_1699;
      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 Lll;b:Lno;
      intermediary field_6704 Lnet/minecraft/class_1642;field_6704:Lnet/minecraft/class_1699;
      named EPOLL_CHANNEL Lnet/minecraft/server/ServerNetworkIo;EPOLL_CHANNEL:Lnet/minecraft/util/Lazy;
    • LOCAL_CHANNEL

      public static final Lazy<LocalEventLoopGroup> LOCAL_CHANNEL
      Mappings:
      Namespace Name Mixin selector
      official c Lll;c:Lno;
      intermediary field_6705 Lnet/minecraft/class_1642;field_6705:Lnet/minecraft/class_1699;
      named LOCAL_CHANNEL Lnet/minecraft/server/ServerNetworkIo;LOCAL_CHANNEL:Lnet/minecraft/util/Lazy;
    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official f Lll;f:Lnet/minecraft/server/MinecraftServer;
      intermediary field_6708 Lnet/minecraft/class_1642;field_6708: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 d Lll;d:Z
      intermediary field_6706 Lnet/minecraft/class_1642;field_6706:Z
      named active Lnet/minecraft/server/ServerNetworkIo;active:Z
    • channels

      private final List<ChannelFuture> channels
      Mappings:
      Namespace Name Mixin selector
      official g Lll;g:Ljava/util/List;
      intermediary field_6709 Lnet/minecraft/class_1642;field_6709: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 h Lll;h:Ljava/util/List;
      intermediary field_6710 Lnet/minecraft/class_1642;field_6710: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> Lll;<init>(Lnet/minecraft/server/MinecraftServer;)V
      intermediary <init> Lnet/minecraft/class_1642;<init>(Lnet/minecraft/server/MinecraftServer;)V
      named <init> Lnet/minecraft/server/ServerNetworkIo;<init>(Lnet/minecraft/server/MinecraftServer;)V
  • Method Details

    • bind

      public void bind​(InetAddress address, int port) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lll;a(Ljava/net/InetAddress;I)V
      intermediary method_6114 Lnet/minecraft/class_1642;method_6114(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 Lll;a()Ljava/net/SocketAddress;
      intermediary method_6113 Lnet/minecraft/class_1642;method_6113()Ljava/net/SocketAddress;
      named bindLocal Lnet/minecraft/server/ServerNetworkIo;bindLocal()Ljava/net/SocketAddress;
    • stop

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

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

      public MinecraftServer getServer()
      Mappings:
      Namespace Name Mixin selector
      official d Lll;d()Lnet/minecraft/server/MinecraftServer;
      intermediary method_6119 Lnet/minecraft/class_1642;method_6119()Lnet/minecraft/server/MinecraftServer;
      named getServer Lnet/minecraft/server/ServerNetworkIo;getServer()Lnet/minecraft/server/MinecraftServer;