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
/
PacketSeatImpl
Packet
Seat
Impl
public
final
class
PacketSeatImpl
implements
PacketSeat
Shows a packet-only vehicle to nearby players with the rider seated on it.
Members
Constructors
Packet
Seat
Impl
Link copied to clipboard
public
void
PacketSeatImpl
(
NMSAdapter
adapter
,
Player
rider
,
EntityType
type
,
Location
location
)
Functions
close
Link copied to clipboard
public
void
close
(
)
Removes the vehicle for every viewer, which unseats the rider on each client.
move
Link copied to clipboard
public
void
move
(
Location
location
)
Moves the vehicle for its viewers and keeps the rider's server-side position with it.