MowziesMobs icon indicating copy to clipboard operation
MowziesMobs copied to clipboard

Mobs from this mod despawn in SpongeForge, and a possible fix

Open Sunconure11 opened this issue 7 years ago • 6 comments

This is clearly not intended behavior (as with "vanilla", they do not despawn), so far, encountered with 1.11.2 builds, I am not sure if it happens with other versions of SpongeForge and/or this mod, but it should be dealt with. Try marking the mobs as creature in the EnumCreatureType system to prevent despawning, as opposed to monster. This causes issues like frost crystals all over the place, and other op goodies from this mod just lying out in the open, because sponge despawned them.

Sunconure11 avatar Aug 27 '17 19:08 Sunconure11

Is it only frost crystals that you are finding? It appears the frostmaw is indeed missing this override but the other mobs do have it. If the other mobs are still despawning there is a spongeforge issue as well.

@Override
protected boolean canDespawn() {
    return false;
}

pau101 avatar Aug 27 '17 22:08 pau101

I am only finding frost crystals, yes.

All of the mobs despawn

Sunconure11 avatar Aug 28 '17 00:08 Sunconure11

So if you manually spawn a ferrous wroughtnaut it will despawn?

pau101 avatar Aug 28 '17 01:08 pau101

This only affects the frostmaw if entity activation ranges are turned off.

And even then, I managed to generate this when using /cofh killall on the mobs from this mod.

As for the frostmaw, I found this: https://pastebin.com/Lnmmvxpx

Sunconure11 avatar Aug 28 '17 12:08 Sunconure11

Is this issue still present? Frostmaws were intended to despawn in previous versions, but will not in future releases. The crystal not despawning with them was a separate issue.

BobMowzie avatar May 11 '20 20:05 BobMowzie

Haven't tested this, this was a few years ago.

Sunconure11 avatar May 11 '20 20:05 Sunconure11