Package net.minecraft.network
Class ProtocolType.PacketRegistry
- java.lang.Object
-
- net.minecraft.network.ProtocolType.PacketRegistry
-
- Enclosing class:
- ProtocolType
static class ProtocolType.PacketRegistry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<PacketDirection,ProtocolType.PacketList<?>>
flows
-
Constructor Summary
Constructors Modifier Constructor Description private
PacketRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends INetHandler>
ProtocolType.PacketRegistryaddFlow(PacketDirection p_229724_1_, ProtocolType.PacketList<T> p_229724_2_)
-
-
-
Field Detail
-
flows
private final java.util.Map<PacketDirection,ProtocolType.PacketList<?>> flows
-
-
Method Detail
-
addFlow
public <T extends INetHandler> ProtocolType.PacketRegistry addFlow(PacketDirection p_229724_1_, ProtocolType.PacketList<T> p_229724_2_)
-
-