Question: how to teleport in minecraft pc java?
Answer: /tp <target entity> <destination (x y z)> [rotation]
example (@p meaning the nearest player):
/tp @p 0 100 0 0 0.
The command above will teleport you to the world center facing north. If you want to look relative to where you were before, use:
/tp @p 0 100 0.