Started by
Iflamee2003
on
Topic category: Help with MCreator software
Hello, I making a corruption mod and I wanted to add a corrupted endermen. I succed in adding him in the game and I want to make him more reactive.
I want him to scream once at his target when he spot his victim. I also want him to scream again if he change target ( like another entity hit him ).
I tried to use local variables like : "previous_target" and "new_target", I also tried to use global variables like :"can_scream" (logic variable) but it doesn't work.
{The mob reference is the warden when he target an entity that making sound, he scream and execute pursuit}
i dont know if it is one of my plugins but I have a can entity see entity procedure, so id use that. I don't know if thats just if its POSSIBLE to see them though, you may have to do some math with the yaw and rotation.