setCameraEntity
Sets the player's camera to spectate the specified entity.
Parameters
player
The target player.
entityId
The entity ID to attach the camera to.
Sets the player's camera to spectate the specified entity.
The target player.
The entity ID to attach the camera to.