Shadows-of-Fire / Apotheosis

All things that should have been.
Other
172 stars 128 forks source link

1.20.1-7.1.0 Spawner attributes reset when unloaded. #1128

Closed UberAffe closed 8 months ago

UberAffe commented 8 months ago

The bonus attributes of the spawner such as No-AI and Redstone controlled are retained, but attributes like min/max spawn delay and spawn range reset to their original values every time the spawner is unloaded and reloaded.

To reproduce: Pick up and place any spawner Modify any of Min/Max Spawn Delay, Spawn Count, Max Entities, Activation Range, or Spawn Range. Unload the chunk containing the spawner. Reload the chunk containing the spawner. Observe that these attributes have all reset to their original value.

I observed this behavior in a server. I have not tested in other environments.

Konin-Sensei commented 8 months ago

I'm noticing the same issue but I don't even need to reload the spawner. After the first time spawning a batch of mobs, all the stats reset. I'm playing in 1.19.2, mod version 6.2.1. No pertinent logs appearing on my server when it happens. I'm using blaze spawners in the nether.

UberAffe commented 8 months ago

I noticed that using Ignore-Spawning-Conditions will reset stats as well.

Konin-Sensei commented 8 months ago

@UberAffe Are you playing with any other mods? EDIT: I just noticed the pack I'm in has the 'harder spawners' mod which has its own config file for spawners. It looks like every time the spawner tried to spawn, it would replace it's stats with the ones defined in the harder spawners config file.

UberAffe commented 8 months ago

I don't think there are others that would affect it. But in this modpack (Occultcraft) I can modify the spawners and they work fine. The exception has only been when I use "ignore spawn conditions" or when the spawner unloads/reloads.

Konin-Sensei commented 8 months ago

occultcraft has the same mod I mentioned. When I removed it from my pack, the spawner modifiers started working correctly. I would look at the config for that mod or anything the modpack developer did for compatibility as its probably a problem with that since it seems like apotheosis spawners and harder spawners are basically incompatible image

Shadows-of-Fire commented 8 months ago

Not sure what Harder Spawners is doing but it sounds like a typical incompatibility. Closing as external/wontfix.