Cannot teleport entities outside of the world
How to reproduce
- Run this command to teleport yourself below bedrock
/tp @s ~ -1 ~
Notice you don't get teleported and you get "Invalid position for teleport"
Why we need this: a lot of data packs use this feature to remove mobs without the death animation showing as well as preventing sounds, item drops, slimes splitting, etc.