Vampirism - Become a vampire!

Vampirism - Become a vampire!

16M Downloads

[Bug] Iron golem AI seems inconsistent

maxanier opened this issue ยท 2 comments

commented

Versions

  • Minecraft: 1.16.4
  • Forge:
  • Vampirism: 1.7.5

Issue Description

Summoned golems work fine, while naturally spawned golems supposedly act weird

Reproduce Steps

Unsure. Might occur in naturally generated vampire villages.

commented

Can't really reproduce and we don't get many complains about this

commented

I have tested it several times with different situations

  • (vampire village ->) hunter village -> vampire village
  • neutral village -> vampire village
    both with normal capture and force capture.

But everything seems to behave normal.
I tried to have the golem attack vampires until the capture was complete since it was the only thing i could think of, but expected behavior.

The last thing i could think of is that the modified target goal

((IronGolemEntity) event.getEntity()).targetSelector.addGoal(3, new NearestAttackableTargetGoal<>((IronGolemEntity) event.getEntity(), MobEntity.class, 5, false, false, entity -> entity instanceof IMob && !(entity instanceof IFactionEntity) && !(entity instanceof CreeperEntity)));

is either not added/removed or another targetgoal is added with higher priority. (all probably caused by another mod)