Teleportation ability

Started by Cr@ezir on

Topic category: Help with Minecraft modding (Java Edition)

Active 7 months ago
Joined Aug 2022
Points:
402

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
Teleportation ability

Im trying to make a sword that lets me teleport in the direction im looking and also create an explosion at that location. Basically im trying to make a weapon called the hyperion from hypixel skyblock's. The problem is i found a video on how to do it but it will only let me teleport north, west ,south and east it would not let me teleport in the actually direction i was looking.

Active 6 months ago
Joined Jul 2022
Points:
406

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 20
i think you need to use…
Tue, 08/09/2022 - 07:45

i think you need to use raytracing

Active 7 months ago
Joined Aug 2022
Points:
402

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
How do I use ray tracing on…
Fri, 08/12/2022 - 03:07

How do I use ray tracing on mccreator

Active 2 years ago
Joined Feb 2022
Points:
633

User statistics:

  • Modifications: 0
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 158
Use "look position"…
Fri, 08/12/2022 - 14:11

Use "look position" procedure blocks. You should use all three parameters: x, y, z.

Active 2 years ago
Joined Aug 2022
Points:
407

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
me personally i created a…
Sat, 08/13/2022 - 00:39

me personally i created a ranged item that teleports then make the sword a keybind that shoots the range at speed 300

Active 7 months ago
Joined Aug 2022
Points:
402

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
So it works but now if im…
Tue, 08/16/2022 - 00:06

So it works but now if im looking at a block and right click i just clip in the block which i dont want. Is there a way i can make it that it will detect there is a block and teleport me right behind it?

Active 8 months ago
Joined Jul 2022
Points:
499

User statistics:

  • Modifications: 0
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 21
@Cr@ezir Under right click…
Tue, 08/16/2022 - 17:41

@Cr@ezir Under right click on entity pos. in item triggers, use the orange command block and put this into it: "tp @p ^ ^ ^8" (Set the 8 to however far you want to tp) Then get a explode block from world management and volia

Active 8 months ago
Joined Jul 2022
Points:
499

User statistics:

  • Modifications: 0
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 21
Also unfortunately, I haven…
Tue, 08/16/2022 - 17:46

Also unfortunately, I haven't found a fix for the tp'ing into blocks, but at least this is more reliable than using raytracing. Plus I forgot to say, before doing the explosion, give the player resistance so they don't die when you do the explosion. (Also you might find that you will leap in the air when the explosion happens. Again, I haven't found a fix for this. If I do, I'll let you know!)

Active 8 months ago
Joined Jul 2022
Points:
499

User statistics:

  • Modifications: 0
  • Forum topics: 18
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 21
Nvm don't do my method, use…
Tue, 08/16/2022 - 18:13

Nvm don't do my method, use the raytracing. It fixes the block clipping