Model: Xiaomi Mi 10T
OS Version: Android 12
However, this restricts visibility, while the Ender Dragon has unlimited visibility. In previous updates like 1.18, you could use 'runtime_identifier': 'minecraft:ender_dragon' in a specific entity to make it visible from a long distance, like a dragon. But in recent updates, this feature was removed, even though it didn't cause any issues when making an entity visible from afar.
Your friend has a different version
Yeah, using the /tp command to relocate many entities results in significant server lag, and I'm hopeful that this problem will be resolved soon