Trying to make an ability that teleports the player where theyre looking but without getting stuck in blocks

Started by von on Sun, 05/28/2023 - 00:14

Topic category: Help with MCreator software

Last seen on 21:02, 11. Jun 2023
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trying to make an ability that teleports the player where theyre looking but without getting stuck in blocks
Sun, 05/28/2023 - 00:14

Im trying to make this ability where the player can teleport exactly to the block theyre looking at, but with what i  currently have it keeps teleporting the player underground into blocks consistently, this is my current procedure (only the part that manages the teleport) procedure