Package net.minecraftforge.fml.network
Class PacketDispatcher.NetworkManagerDispatcher
- java.lang.Object
-
- net.minecraftforge.fml.network.PacketDispatcher
-
- net.minecraftforge.fml.network.PacketDispatcher.NetworkManagerDispatcher
-
- Enclosing class:
- PacketDispatcher
static class PacketDispatcher.NetworkManagerDispatcher extends PacketDispatcher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.fml.network.PacketDispatcher
PacketDispatcher.NetworkManagerDispatcher
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer>,ResourceLocation,ICustomPacket<?>>
customPacketSupplier
private NetworkManager
manager
private int
packetIndex
-
Fields inherited from class net.minecraftforge.fml.network.PacketDispatcher
packetSink
-
-
Constructor Summary
Constructors Constructor Description NetworkManagerDispatcher(NetworkManager manager, int packetIndex, java.util.function.BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer>,ResourceLocation,ICustomPacket<?>> customPacketSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
dispatchPacket(ResourceLocation resourceLocation, PacketBuffer buffer)
-
Methods inherited from class net.minecraftforge.fml.network.PacketDispatcher
sendPacket
-
-
-
-
Field Detail
-
manager
private final NetworkManager manager
-
packetIndex
private final int packetIndex
-
customPacketSupplier
private final java.util.function.BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer>,ResourceLocation,ICustomPacket<?>> customPacketSupplier
-
-
Constructor Detail
-
NetworkManagerDispatcher
NetworkManagerDispatcher(NetworkManager manager, int packetIndex, java.util.function.BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer>,ResourceLocation,ICustomPacket<?>> customPacketSupplier)
-
-
Method Detail
-
dispatchPacket
private void dispatchPacket(ResourceLocation resourceLocation, PacketBuffer buffer)
-
-