Record Class PayloadChannel.Builder.Protocol<BUF extends FriendlyByteBuf,BASE extends CustomPacketPayload>

java.lang.Object
java.lang.Record
net.minecraftforge.network.PayloadChannel.Builder.Protocol<BUF,BASE>
All Implemented Interfaces:
ChannelBuildable<CustomPacketPayload>, PayloadConnection<BASE>, PayloadProtocol<BUF,BASE>, PayloadChannel.Builder.ProtocolFactory<BUF,BASE>, BaseProtocol<PayloadFlow<BUF,BASE>,PayloadProtocol<BUF,BASE>>
Enclosing class:
PayloadChannel.Builder

private static record PayloadChannel.Builder.Protocol<BUF extends FriendlyByteBuf,BASE extends CustomPacketPayload>(PayloadChannel.Builder.BuilderContext<BUF extends FriendlyByteBuf,BASE extends CustomPacketPayload> ctx) extends Record implements PayloadChannel.Builder.ProtocolFactory<BUF,BASE>, PayloadProtocol<BUF,BASE>