mountTo

public void mountTo(Entity vehicle)

Makes this fake text ride on top of an entity. The client will handle positioning automatically - no need to teleport. Does NOT enable automatic visibility tracking - use attachTo() for that.

Parameters

vehicle

The entity to mount (e.g., a Player)