Class NetworkState.PacketHandlerInitializer

java.lang.Object
net.minecraft.network.NetworkState.PacketHandlerInitializer
Enclosing class:
NetworkState

static class NetworkState.PacketHandlerInitializer
extends Object
Mappings:
Namespace Name
official nv$b
intermediary net/minecraft/class_2539$class_4533
named net/minecraft/network/NetworkState$PacketHandlerInitializer
  • Field Details

    • packetHandlers

      private final Map<NetworkSide,​NetworkState.PacketHandler<?>> packetHandlers
      Mappings:
      Namespace Name Mixin selector
      official a Lnv$b;a:Ljava/util/Map;
      intermediary field_20598 Lnet/minecraft/class_2539$class_4533;field_20598:Ljava/util/Map;
      named packetHandlers Lnet/minecraft/network/NetworkState$PacketHandlerInitializer;packetHandlers:Ljava/util/Map;
  • Constructor Details

    • PacketHandlerInitializer

      private PacketHandlerInitializer()
  • Method Details

    • setup

      public <T extends PacketListener> NetworkState.PacketHandlerInitializer setup​(NetworkSide side, NetworkState.PacketHandler<T> packetHandler)
      Mappings:
      Namespace Name Mixin selector
      official a Lnv$b;a(Lpb;Lnv$a;)Lnv$b;
      intermediary method_22315 Lnet/minecraft/class_2539$class_4533;method_22315(Lnet/minecraft/class_2598;Lnet/minecraft/class_2539$class_4532;)Lnet/minecraft/class_2539$class_4533;
      named setup Lnet/minecraft/network/NetworkState$PacketHandlerInitializer;setup(Lnet/minecraft/network/NetworkSide;Lnet/minecraft/network/NetworkState$PacketHandler;)Lnet/minecraft/network/NetworkState$PacketHandlerInitializer;