Hello dear PaperMC-Community,
I am trying to stop a villager from panicking (when a hostile mob is nearby).
Bukkit.getMobGoals().removeGoal((Villager) memberEntity, VanillaGoal.PANIC);
This code did nothing. It is in a method that is executed during an EntitySpawnEvent with a delay of one tick...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.