FabricRemoteTransport

Native custom payload transport for the original identifier-and-buffer packet format.

Properties

Link copied to clipboard
val ID: ResourceLocation

Functions

Link copied to clipboard
open fun register(connection: ClientPacketListener)
Advertises the Strata channel before Paper is allowed to reply with plugin messages.
Link copied to clipboard
open fun send(connection: ClientPacketListener, bytes: Array<Byte>)
Transfers an owned byte snapshot to the native packet encoder.