Spawn in a dimension above the surface

Started by SubwayGarbage on

Topic category: Help with modding (Java Edition)

Last seen on 09:29, 20. Jul 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Spawn in a dimension above the surface

So i have an item that teleports me to a dimension, but it teleports me to Y:5, where is stone. Is there a way to change the Y?

Last seen on 13:58, 21. Jan 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
my Idea is get the world…
Sat, 05/14/2022 - 00:15

my Idea is get the world hight then go down check is block at ~ ~-1 ~ is solid if it is then get the y and set the spawn at Y to the value otherwise go down