quentin452 / OptimizationsAndTweaks

Mod that add some Optimizations/Bugfix/Tweakings for minecraft 1.7.10 and mods
GNU Lesser General Public License v3.0
36 stars 2 forks source link

[1.7.10]: Fantastic Fish mod despawning #105

Open PopcornHead51 opened 10 months ago

PopcornHead51 commented 10 months ago

Modpack

No response

Game log

No response

Description

When using the Fantastic Fish mod, several of the mod's mobs (notably sharks) swim away from the player upon spawning, essentially allowing them to instantly despawn. I request that this bug be fixed.

quentin452 commented 10 months ago

ok

quentin452 commented 10 months ago

try this :https://mega.nz/file/zlFwQZoC#9qa4y-GmriC7J2SzNWDCE4zad4pH5OX143rVXzzLgh4 i added a mixin that disable despawn mechanism on WaterCreature mobs from Fantastic Fish

PopcornHead51 commented 10 months ago

The issue still persists: they swim away from the player until they despawn.

quentin452 commented 10 months ago

what jar you use for fantastic fish?

PopcornHead51 commented 10 months ago

"fantastic-1.4.jar" - not sure where I originally downloaded it

quentin452 commented 10 months ago

i don't know why i injected in right classes, injected code in right method and is doesn't work

PopcornHead51 commented 10 months ago

does it work on your end?

quentin452 commented 10 months ago

nop

PopcornHead51 commented 10 months ago

perhaps the issue is with the swimming ai of certain mobs, not the despawning code. Given that this issue only impacts select mobs from the mod, perhaps you are looking the issue from too high a level.

quentin452 commented 10 months ago

probably need to make a fork of the mod to fix it