I need help with teleportation.

Started by tbroski on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Sep 2019
Points:
989

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 505
I need help with teleportation.

 I've been trying to make a ranged item that when it hits a player/block/entity the user will teleport to the player/block/entity. 

So I made a simple procedure using "Move provided entity to x:, y:, z:" This works when it hits a block but doesn't when it hits an entity.

NOTE: I have the procedure set up to both "When bullet hits block" and "When bullet hits living entity"

All in all, I poked around through procedures to find something that will do the job just different. I am a noobie at coding (why am using mcreator :d), but if I have to code I will. Any advice?

Active 5 years ago
Joined May 2017
Points:
748

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 39
There is no procedure to…
Fri, 09/06/2019 - 15:17

There is no procedure to specifically teleport the player. When you put "Teleport entity to x y z" in the "when bullet hits living entity" trigger, the default dependency for "entity" is the actual entity being hit itself, so it is being teleported to x y z, which theoretically should do nothing. Im not saying your idea is impossible in mcreator, I just don't know how to do it, but no worries because it should be pretty easy to do in the next update

Active 4 years ago
Joined Dec 2019
Points:
962

User statistics:

  • Modifications: 1
  • Forum topics: 36
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 249
Well the next update came…
Thu, 04/16/2020 - 03:26

Well the next update came like 6 months ago and no one seems to know so... how do you do this now in April 2020?

Active 4 years ago
Joined Sep 2019
Points:
989

User statistics:

  • Modifications: 1
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 505
Hey PythonIsCool, this is…
Thu, 04/16/2020 - 03:33

Hey PythonIsCool, this is what we Klemen plans to add. This will allow us to change what will be teleported/targets. Upvote this issue https://mcreator.net/comment/104478

Active 3 years ago
Joined Mar 2020
Points:
1200

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 985
It was added! Yay :D
Mon, 06/01/2020 - 16:34

It was added! Yay :D

Active 5 years ago
Joined Jul 2020
Points:
625

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Can anyone please explain to…
Thu, 07/09/2020 - 21:14

Can anyone please explain to me how to do it? Im new at this and i want to do an item that has the same properties as an ender pearl,does anyone knows how???