Uses of Class
net.minecraft.network.NetworkState.PacketHandler
-
Uses of NetworkState.PacketHandler in net.minecraft.network
Modifier and TypeFieldDescription(package private) final Map<NetworkSide,
NetworkState.PacketHandler<?>> NetworkState.PacketHandlerInitializer.packetHandlers
private final Map<NetworkSide,
? extends NetworkState.PacketHandler<?>> NetworkState.packetHandlers
Modifier and TypeMethodDescription<P extends Packet<T>>
NetworkState.PacketHandler<T>NetworkState.PacketHandler.register
(Class<P> type, Function<PacketByteBuf, P> packetFactory) <P extends BundlePacket<T>>
NetworkState.PacketHandler<T>NetworkState.PacketHandler.registerBundlePacket
(Class<P> bundlePacketType, Function<Iterable<Packet<T>>, P> bundleFunction) Modifier and TypeMethodDescriptionNetworkState.PacketHandlerInitializer.setup
(NetworkSide side, NetworkState.PacketHandler<T> handler)