can soneone help me do teleport-dash ability

Started by Slivka0102 on

Topic category: Help with MCreator software

Last seen on 11:21, 25. Apr 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can soneone help me do teleport-dash ability

i wanna do ability that could teleport you on direction u face with max range pls help 

Last seen on 21:35, 19. Apr 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Heya! This is a really easy,…
Tue, 09/20/2022 - 00:47

Heya! This is a really easy, really simple set up that should make you teleport wherever you're looking where you right click with an item and if you're crouching!

https://imgur.com/gallery/x2QSHSD

Since it's a bit hard to see, here's a brief description of what it is and how it works

Global trigger: Player right clicks with item
If is entity/target entity sneaking
do Set location of event/target entity to
x: X look position of event/target entity with raytrace distance 20 fluid mode none block mode visual
Y: Y look position of event/target entity with raytrace distance 20 fluid mode none block mode visual
Z: Z look position of event/target entity with raytrace distance 20 fluid mode none block mode visual

The global trigger will make the game call the procedure when the player right clicks with an item in their hand
The if will only do what is in the do area when the player is sneaking
the do area will teleport the player to whatever block is 20 blocks in front of where they're looking
Hope this helps!

Last seen on 11:21, 25. Apr 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i already find procedure,…
Mon, 10/10/2022 - 02:19

i already find procedure, but thank you i will use it later to do teleports