Started by
tbroski
on
Topic category: Help with Minecraft modding (Java Edition)
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?
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
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?
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
It was added! Yay :D
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???