Commands/teleport – Minecraft Wiki
https://minecraft.fandom.com/wiki/Commands/teleportTeleports entities (players, mobs, etc.). Although most commands can affect only chunks that have already been generated, /teleport can send entities into chunks that have yet to be generated. If this happens to a player, then the chunks around and including that player's destination are newly generated. Java Edition teleport <destination> teleport <targets> …