Record Class PacketDistributor<T>

java.lang.Object
java.lang.Record
net.minecraftforge.network.PacketDistributor<T>
Type Parameters:
T -

public record PacketDistributor<T>(BiFunction<PacketDistributor<T>,T,Consumer<Packet<?>>> functor, NetworkDirection direction) extends Record
Means to distribute packets in various ways
See Also: