Teleport player

Started by Cromo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Teleport player

Is there any procedure that allows the player to instantly go to the place where he is looking?

Basically, my plan is that when you press a key, the player instantly teleports to the place he was looking at when he pressed it.

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
that is possible with this…
Wed, 01/04/2023 - 14:37

that is possible with this way :
1. Create your keybind (I call it "key")
2. Create a new bow (I call it "tp_arrow")

in the [key]:

When [key] is pressed
shoot with [tp_arrow] from event/target entity
-----------------
in the [tp_arrow]:

when [arrow] hit the ground
define event/target entity position to x y z
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
PS : My MCreator is not in…
Wed, 01/04/2023 - 14:38

PS : My MCreator is not in english so somes block names are probably wrong, I'm sorry about that.