Started by
Rareshero_
on
Topic category: Help with Minecraft modding (Java Edition)
I made a custom zombie, and if he hits you, you will get an Infected effect. And if you have the Infected effect the custom mob will not attack you, unlike when you did not have the effect. Is there an way to do this ?
Edited by Rareshero_ on Fri, 11/05/2021 - 20:02
you could try doing mixes with the trigger
Entity sets its target attack
and/or the procedure block Entity is targeting for attack
Can you show me with an screenshot ? I don't get what you said.
I don't have any procedures, you would have to figure it out, I gave tips, use the trigger Entity sets its target attack and/or the procedure block Entity is targeting for attack
I did something :D. It only semi-works. Let me expain. So if I have the Infected effect, and a zombie sees me for the first time, he will attack me. But if he loses sight of me, and I come back he is frendly. I did this by being able to tame the zombie. Here is my procedure :
Keep in mind I would like someone to make my procedure better, because it dosen't work 100% of the time !
https://ibb.co/rGvYR8z - Photo link
I will try to make smt for ya
Do this and replace wearing equip / wapons to potion active effect
https://mcreator.net/forum/80483/tutorial-mobs-only-attack-player-if-we…
Can you make send me a photo, it takes ages to read, and then find what I must do. Thanks for the link, even if you don't send me a photo at least I can still make it work :D
I still did not manage to fix my problem :( . I'll try tommorow again.
Ages to read ? It's 10 lines....
Yea, but I'm new, and it takes time to find the respective thing, and then place it in the correct spot
what does age have to do with reading xd
age with mcreator* I meant age with mcreator not age xd
Like 3 weeks now.