Class PacketDistributor.PacketTarget
java.lang.Object
net.minecraftforge.fmllegacy.network.PacketDistributor.PacketTarget
- Enclosing class:
- PacketDistributor<T>
A Distributor curried with a specific value instance, for actual dispatch
- See Also:
SimpleChannel.send(PacketTarget, Object)
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPacketTarget(Consumer<Packet<?>> packetConsumer, PacketDistributor<?> distributor)
-
Method Summary
-
Field Details
-
packetConsumer
-
distributor
-
-
Constructor Details
-
PacketTarget
PacketTarget(Consumer<Packet<?>> packetConsumer, PacketDistributor<?> distributor)
-
-
Method Details
-
send
-
getDirection
-