Package net.ixdarklord.coolcatcore.api.network
package net.ixdarklord.coolcatcore.api.network
-
ClassDescriptionA payload sent through
Network: 1.20.5+'sCustomPacketPayload, which 1.20.1 doesn't have.CustomPacketPayload.Type<T extends CustomPacketPayload>CustomPacketPayload.TypeAndCodec<B extends io.netty.buffer.ByteBuf,T extends CustomPacketPayload> Play-phase payloads between client and server.Where a received payload came from.Stream codecs found by type, so a record payload needs no hand-writtenStreamCodec: each record component is encoded in declaration order with the codec of its declared type.Builds the codec of a generic type from its type arguments.Resolves the codecs of type arguments inside aPayloadCodecs.Factory.PayloadReceiver<T extends CustomPacketPayload>Handles a received payload.