Spawn in a dimension above the surface

Started by SubwayGarbage on

Topic category: Help with Minecraft modding (Java Edition)

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?

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