mountTo

public void mountTo(int vehicleEntityId)

Makes this packet entity ride another entity (the vehicle). Sends mount packets to all viewers so the client handles positioning.

Parameters

vehicleEntityId

The entity ID of the vehicle to mount