Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
MagmaCore
/
com.magmaguy.easyminecraftgoals.internal
/
PacketPassengerRegistry
Packet
Passenger
Registry
public
final
class
PacketPassengerRegistry
Per-observer synthetic passengers, composed with each authoritative passenger snapshot.
Members
Functions
attach
Link copied to clipboard
public
static
void
attach
(
UUID
viewer
,
int vehicle
,
int passenger
)
clear
Link copied to clipboard
public
static
void
clear
(
)
clear
Viewer
Link copied to clipboard
public
static
void
clearViewer
(
UUID
viewer
)
compose
Link copied to clipboard
public
static
Array
<
int
>
compose
(
UUID
viewer
,
int vehicle
,
Array
<
int
>
nativePassengers
)
Preserve native ordering (including the controlling passenger) and do not mutate shared packets.
detach
Link copied to clipboard
public
static
void
detach
(
UUID
viewer
,
int vehicle
,
int passenger
)
has
Attachments
Link copied to clipboard
public
static
boolean
hasAttachments
(
UUID
viewer
)