Bug with world surface

Started by cristianda05 on Sun, 06/19/2022 - 20:27

Topic category: Help with modding (Java Edition)

Last seen on 00:39, 30. Jul 2022
Joined Mar 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Bug with world surface
Wed, 06/22/2022 - 19:51 (edited)

I am making a block that, when collided with, teleports the player to another dimension. The coordinates are as following:

x = player x, y = world surface, z = player z.

Can someone explain why, when I am in creative mode, I am teleported to the correct place but when I am in survival mode I get teleported to the correct x and z but UNDERGROUND? Thank you.

Edited by cristianda05 on Wed, 06/22/2022 - 19:51
Last seen on 00:39, 30. Jul 2022
Joined Mar 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
bump
Wed, 06/22/2022 - 13:06

bump

Last seen on 00:39, 30. Jul 2022
Joined Mar 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
bump
Sun, 06/26/2022 - 13:10

bump

Last seen on 23:20, 11. Aug 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Maybe after teleporting to…
Sun, 06/26/2022 - 14:53

Maybe after teleporting to the other dimension, set location to (x) (random number between ? and ? included) (z) for entity. You're gonna need to find out what the relative max and min ground y coordinates are first before you use the procedure block above. This is not totally foolproof but you might need to alter the numbers a bit so the player doesn't drop a few blocks.