How make the player teleport where he look

Started by malisis on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How make the player teleport where he look

what I want to do is for the player to teleport where he sees, I have already solved that for now, I am using set location with raytrace, so I ask for help is because I always stay between blocks, for example if I teleport twice in a row to down I am between blocks or if I point to a tree it puts me between the leaves, is there any way to avoid this?

Attached image of what I have: https://i.imgur.com/fMADYTT.jpg

ps: when I put the if do blocks and then I put the is air at xyz block the command doesn't work directly

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
add on every argument +0.5
Wed, 10/13/2021 - 10:47

add on every argument +0.5

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What does that mean?
Sat, 02/24/2024 - 04:11

What does that mean?