Record Class NetworkPayloadSetup

java.lang.Object
java.lang.Record
net.neoforged.neoforge.network.registration.NetworkPayloadSetup
Record Components:
configuration - The configuration channels.
play - The play channels.

@Internal public record NetworkPayloadSetup(Map<ConnectionProtocol,Map<ResourceLocation,NetworkChannel>> channels) extends Record
Represents a complete negotiated network, which is stored on the client and server.