PacketSeat

public interface PacketSeat

A packet-only vehicle carrying one real player. Only the clients of its viewers know the vehicle; the server never spawns it, so it cannot be broken, pushed, saved or picked up.

Inheritors

Types

Link copied to clipboard
public interface Provider
Installed by the active NMS adapter.

Functions

Link copied to clipboard
public abstract void close()
Removes the vehicle for every viewer, which unseats the rider on each client.
Link copied to clipboard
public abstract void move(Location location)
Moves the vehicle for its viewers and keeps the rider's server-side position with it.