Class LegacyServerPinger

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

@Environment(CLIENT) public class LegacyServerPinger extends SimpleChannelInboundHandler<ByteBuf>
Mappings:
Namespace Name
official fjc
intermediary net/minecraft/class_8676
named net/minecraft/client/network/LegacyServerPinger
  • Field Details

    • SPLITTER

      private static final Splitter SPLITTER
      Mappings:
      Namespace Name Mixin selector
      official a Lfjc;a:Lcom/google/common/base/Splitter;
      intermediary field_45604 Lnet/minecraft/class_8676;field_45604:Lcom/google/common/base/Splitter;
      named SPLITTER Lnet/minecraft/client/network/LegacyServerPinger;SPLITTER:Lcom/google/common/base/Splitter;
    • serverAddress

      private final ServerAddress serverAddress
      Mappings:
      Namespace Name Mixin selector
      official b Lfjc;b:Lfki;
      intermediary field_45605 Lnet/minecraft/class_8676;field_45605:Lnet/minecraft/class_639;
      named serverAddress Lnet/minecraft/client/network/LegacyServerPinger;serverAddress:Lnet/minecraft/client/network/ServerAddress;
    • handler

      private final LegacyServerPinger.ResponseHandler handler
      Mappings:
      Namespace Name Mixin selector
      official c Lfjc;c:Lfjc$a;
      intermediary field_45606 Lnet/minecraft/class_8676;field_45606:Lnet/minecraft/class_8676$class_8677;
      named handler Lnet/minecraft/client/network/LegacyServerPinger;handler:Lnet/minecraft/client/network/LegacyServerPinger$ResponseHandler;
  • Constructor Details

    • LegacyServerPinger

      public LegacyServerPinger(ServerAddress serverAddress, LegacyServerPinger.ResponseHandler handler)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfjc;<init>(Lfki;Lfjc$a;)V
      intermediary <init> Lnet/minecraft/class_8676;<init>(Lnet/minecraft/class_639;Lnet/minecraft/class_8676$class_8677;)V
      named <init> Lnet/minecraft/client/network/LegacyServerPinger;<init>(Lnet/minecraft/client/network/ServerAddress;Lnet/minecraft/client/network/LegacyServerPinger$ResponseHandler;)V
  • Method Details

    • channelActive

      public void channelActive(ChannelHandlerContext context) throws Exception
      Specified by:
      channelActive in interface ChannelInboundHandler
      Overrides:
      channelActive in class ChannelInboundHandlerAdapter
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      official channelActive Lfjc;channelActive(Lio/netty/channel/ChannelHandlerContext;)V
      intermediary channelActive Lnet/minecraft/class_8676;channelActive(Lio/netty/channel/ChannelHandlerContext;)V
      named channelActive Lnet/minecraft/client/network/LegacyServerPinger;channelActive(Lio/netty/channel/ChannelHandlerContext;)V
    • channelRead0

      protected void channelRead0(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf)
      Specified by:
      channelRead0 in class SimpleChannelInboundHandler<ByteBuf>
      Mappings:
      Namespace Name Mixin selector
      official a Lfjc;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)V
      intermediary method_3005 Lnet/minecraft/class_8676;method_3005(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)V
      named channelRead0 Lnet/minecraft/client/network/LegacyServerPinger;channelRead0(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)V
    • exceptionCaught

      public void exceptionCaught(ChannelHandlerContext context, Throwable throwable)
      Specified by:
      exceptionCaught in interface ChannelHandler
      Specified by:
      exceptionCaught in interface ChannelInboundHandler
      Overrides:
      exceptionCaught in class ChannelInboundHandlerAdapter
      Mappings:
      Namespace Name Mixin selector
      official exceptionCaught Lfjc;exceptionCaught(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V
      intermediary exceptionCaught Lnet/minecraft/class_8676;exceptionCaught(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V
      named exceptionCaught Lnet/minecraft/client/network/LegacyServerPinger;exceptionCaught(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V