Started by
Electroman
on
Topic category: Help with modding (Java Edition)
For context, I have been developing a mod that has an entity similar to the man from the fog, I have made a separate entity from the aggressive version that spawns on occasion in a certain time period, I want to make it to where if I look at the entity(stalker form) he despawns and if you don't, he despawns and spawns his aggressive form. How would I be able to do this?