Strata
Toggle table of contents
0.2.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Strata
minecraft-fabric-1.20
/
dev.s7a.strata.runtime.minecraft.fabric
/
FabricRemoteTransport
Fabric
Remote
Transport
class
FabricRemoteTransport
(
source
)
Native custom payload transport for the original identifier-and-buffer packet format.
Members
Properties
ID
Link copied to clipboard
val
ID
:
ResourceLocation
Functions
register
Link copied to clipboard
open
fun
register
(
connection
:
ClientPacketListener
)
Advertises the Strata channel before Paper is allowed to reply with plugin messages.
send
Link copied to clipboard
open
fun
send
(
connection
:
ClientPacketListener
,
bytes
:
Array
<
Byte
>
)
Transfers an owned byte snapshot to the native packet encoder.