PacketSeatImpl

public final class PacketSeatImpl implements PacketSeat

Shows a packet-only vehicle to nearby players with the rider seated on it.

Constructors

Link copied to clipboard
public void PacketSeatImpl(NMSAdapter adapter, Player rider, EntityType type, Location location)

Functions

Link copied to clipboard
public void close()
Removes the vehicle for every viewer, which unseats the rider on each client.
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.