Iron's Spells 'n Spellbooks

Iron's Spells 'n Spellbooks

18M Downloads

[Bug] Polar Bears attack the Caster if Cursed by the Ring of the Seven Curses

Yukiharuwu opened this issue ยท 3 comments

commented

Observed behaviour

Polar Bears attack the Caster immediately upon summon, likely due to wearing the Ring of the Seven Curses from Enigmatic Legacy

Can likely be fixed by tweaking their behavior/AI

Expected behaviour

Expected: Polar Bear would fight for the caster as usual

Steps to reproduce

  1. Equip the Ring of the Seven Curses from Enigmatic Legacy
  2. Summon a Polar Bear

Server Type

Single Player

Crashlog

No response

Iron's Spells N Spellbooks version

1.20.1-3.1.4

Forge version

1.20.1 - 47.2.30

Other mods

All the mods in https://www.curseforge.com/minecraft/modpacks/miyus-madness - Happens in other modpacks too

commented

This should be reported to them. They are forcefully changing the polar bear target to the wearer of the ring. I don't see any reasonable way we can fix this on our end.

They already have code to ignore some types of mobs. They should also ignore anything that is an instance of a MagicSummon

commented

Also, Summons are allied to the caster and they never make and isAlliedTo() check before changing the target. This is probably the right way to fix it