static class NetworkState.PacketHandlerInitializer extends Object
Modifier and Type | Field and Description |
---|---|
private Map<NetworkSide,NetworkState.PacketHandler<?>> |
packetHandlers |
Modifier | Constructor and Description |
---|---|
private |
PacketHandlerInitializer() |
Modifier and Type | Method and Description |
---|---|
<T extends PacketListener> |
setup(NetworkSide side,
NetworkState.PacketHandler<T> packetHandler) |
private final Map<NetworkSide,NetworkState.PacketHandler<?>> packetHandlers
public <T extends PacketListener> NetworkState.PacketHandlerInitializer setup(NetworkSide side, NetworkState.PacketHandler<T> packetHandler)