Started by
QB
on
Topic category: Help with Minecraft modding (Java Edition)
So I'm making End-Infected mob, and I want them to teleport randomly when they got hurt like enderman? Is there a way to make this possible? Can you guys help me? Thanks a lot!
I have been on MCreator since November (joined the website in January) and so far there is no way how to do that so far, I will open a issue on that now
Alright, thanks for informing me!
You could maybe add a x y z coords procedure when the mob gets hurt?
I'll do some testing about the coordination procedure. Thanks for the idea!
Okay gotcha :) If you cannot do it then I'll try to as well :D
i know how
Oh, then how can you make this possible? darthsae?
I will send an example procedure once i make the basic code.
https://www.dropbox.com/s/k6j2zxa6edvo01w/Teleporting%20Entity%20On%20Hurt%20Procedure.ptpl?dl=0
There that is a link to a basic starter script
Thanks for your help!
How can I open the file you sent me?
sorry i accidently sent the procedure
@QB this is pretty late notice but you can't open .ptpl files outside of MCreator
create an empty procedure (preferably in "on entity hurt") and click the Import Procedure button in the top right, then navigate to wherever you downloaded the .ptpl file
This is quite easy
Just use trigger entity is hurt then randomize the TP command
If 10% then tp to some coordinates
Else tp to different coordinates
and so on