[Mod compat] Incompatibility with The Pure Suffering Mod
schindlershadow opened this issue ยท 1 comments
Issue Description:
Incompatibility with The Pure Suffering Mod during invasions, may also cause incompatibility with other mods that spawn large number of mobs
What happens:
During an invasion, a large number of mobs are spawned far from the player with aggro set to the player but pokemobs try to target all the mobs but fails because they are too far. in the end the pokemob ends up just walking into the distance, passing all the mobs without fighting any of them.
The target gui also flips between all mobs every tick it seems
Log:
Adding Spider(931563) and Cyclizar(933867) to a battle!
Target Set: EntityPokemob['Cyclizar'/933867, l='ServerLevel[world]', x=34.75, y=70.00, z=122.72] -> Spider['Spider'/931563, l='ServerLevel[world]', x=54.00, y=-20.92, z=66.29]
Too far from target.
Null Target Set for EntityPokemob['Cyclizar'/933867, l='ServerLevel[world]', x=34.75, y=70.00, z=122.72]
Removing Spider(931563) from the battle!
Too far from target.
Full log:
https://pastebin.com/raw/CNnXQbYA
What you expected to happen:
pokemob only moves and trys to attack aggro'ed mobs that are near the player. prioritize mobs that have attacked the player
Steps to reproduce:
- start invasion from pure suffering
- send out pokemob
...
Affected Versions (Do not use "latest"): Replace with a list of all mods you have in.
- Pokecube AIO: pokecube-aio-1.21.1-4.0.6
- Minecraft: 1.21.1
- NeoForge: 21.1.191
modlist and system details (large amount of mods):
https://pastebin.com/raw/5YMxzvPC
modpack link
https://www.curseforge.com/minecraft/modpacks/infinix-test