Identify Certain Block Above Player And Teleport to it.

Started by MelloFello_ on

Topic category: Help with modding (Java Edition)

Last seen on 08:24, 29. Jan 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Identify Certain Block Above Player And Teleport to it.

Hey,

I'm making a sort of "Elevator" block which teleports the player to the next elevator block above it.

What I really need is to have the cords of the destination block, then have the player be teleported to it.

Current Code:

Last seen on 14:03, 18. Apr 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get block at x y+1 z is…
Sun, 01/16/2022 - 13:30

Get block at x y+1 z is yourcustomblock