Started by
DeathD84
on
Topic category: Help with Minecraft modding (Java Edition)
So in my mod, I wish to make it so that if a player has a certain effect/global variable, the mob will not attack them, but attack any other player who does not have that effect/global variable.
Edited by DeathD84 on Sun, 04/23/2023 - 22:28
1.global variable is for a map not a player,nbt instead
2.i don't know how to test effects in procedures
3.ai target not changable with procedures now.
4.coding plugins?
5.some ai bses make the mob attack player with "glowing" effect.
global variable is recquired for what im using, to keep the effects after death
its doable if the mob in question is your custom mob. very complicated if its vanilla or from other mods
very late response, but yeah, it'd be a custom mob. so i have vampires and magic users, if youre a vampire (which is given with an effect) i want the vampire mobs to not attack, but the magic user mobs to attack instead, and vise versa, yknow
are you into coding? because what you're trying to do requires modifying the mcreator generated code