getVehicle

public abstract Entity getVehicle()

Gets the vehicle entity this is attached to, if any.

Return

The vehicle entity, or null if not attached