Package net.minecraft.network
Class NetworkState.PacketHandlerInitializer
java.lang.Object
net.minecraft.network.NetworkState.PacketHandlerInitializer
- Enclosing class:
NetworkState
- Mappings:
Namespace Name official sn$c
intermediary net/minecraft/class_2539$class_4533
named net/minecraft/network/NetworkState$PacketHandlerInitializer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<NetworkSide,
NetworkState.InternalPacketHandler<?>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetup
(NetworkSide side, NetworkState.InternalPacketHandler<T> handler)
-
Field Details
-
packetHandlers
- Mappings:
Namespace Name Mixin selector official a
Lsn$c;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
PacketHandlerInitializer()
-
-
Method Details
-
setup
public <T extends PacketListener> NetworkState.PacketHandlerInitializer setup(NetworkSide side, NetworkState.InternalPacketHandler<T> handler) - Mappings:
Namespace Name Mixin selector official a
Lsn$c;a(Lve;Lsn$b;)Lsn$c;
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$InternalPacketHandler;)Lnet/minecraft/network/NetworkState$PacketHandlerInitializer;
-
createSideToHandlerMap
- Mappings:
Namespace Name Mixin selector official a
Lsn$c;a(Lsn;)Ljava/util/Map;
intermediary method_52930
Lnet/minecraft/class_2539$class_4533;method_52930(Lnet/minecraft/class_2539;)Ljava/util/Map;
named createSideToHandlerMap
Lnet/minecraft/network/NetworkState$PacketHandlerInitializer;createSideToHandlerMap(Lnet/minecraft/network/NetworkState;)Ljava/util/Map;
-