Class LegacyServerPinger

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

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

    • SPLITTER

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

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

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

    • LegacyServerPinger

      public LegacyServerPinger(ServerAddress serverAddress, LegacyServerPinger.ResponseHandler handler)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/network/LegacyServerPinger;<init>(Lnet/minecraft/client/network/ServerAddress;Lnet/minecraft/client/network/LegacyServerPinger$ResponseHandler;)V
      intermediary <init> Lnet/minecraft/class_8676;<init>(Lnet/minecraft/class_639;Lnet/minecraft/class_8676$class_8677;)V
      official <init> Lfyd;<init>(Lfzn;Lfyd$a;)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
      named channelActive Lnet/minecraft/client/network/LegacyServerPinger;channelActive(Lio/netty/channel/ChannelHandlerContext;)V
      intermediary channelActive Lnet/minecraft/class_8676;channelActive(Lio/netty/channel/ChannelHandlerContext;)V
      official channelActive Lfyd;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
      named channelRead0 Lnet/minecraft/client/network/LegacyServerPinger;channelRead0(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
      official a Lfyd;a(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
      named exceptionCaught Lnet/minecraft/client/network/LegacyServerPinger;exceptionCaught(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V
      intermediary exceptionCaught Lnet/minecraft/class_8676;exceptionCaught(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V
      official exceptionCaught Lfyd;exceptionCaught(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V