pub fn transform_entity( server: &mut Server, entity: Entity, entity_info: EntityInfo, allow_players: bool, ) -> Result<(), TransformEntityError>