Mekanism Additions

Mekanism Additions

21M Downloads

Dimensional stabilizer does not allow for Apotheosis Mob Spawners to work unless a player is nearby.

JustAnotherGhostName opened this issue ยท 6 comments

commented

Issue description

The Apotheosis Mob Spawner does not get fully chunk loaded when fully upgraded (So no players required and any spawning conditions) when using a Dimensional Stabilizer. I can confirm that they do work when using FTB Chunks for chunk loading.

What's more funky about this is that according to Crash Utilities, the chunks are fully loaded and ticking.

Currently I am running this in ATM8 Version 1.0.7.

Steps to reproduce

  1. Launch a ATM8 server running version 1.0.7.
  2. Turn off server.
  3. Enable chunk loading in the Mekanism configs.
  4. Restart server to update changes.
  5. Place a mob spawner from Apotheosis, configure it as desired but requiring the no players upgrade and the any conditions upgrade.
  6. Setup some form of mob killing and item collection connected to say a wireless grid from Refined Storage so you can monitor items coming into the network.
  7. Place a Dimensional Stabilizer in the area, configure to load it and provide power.
  8. Observe items are coming into the network while a player is loading the chunks.
  9. Fly / TP away
  10. Wait some time
  11. Observe items are no longer coming into the system through the wireless grid, however, you can still pull items in and out of the system
  12. Observe with Crash Utilities that the number of entities is not changing for the specific mob type
  13. Go back
  14. Observe the mobs are spawning again, and the items are being imported to the system.

Minecraft version

1.19.2 (Latest)

Forge version

43.1.55

Mekanism version

10.3.5 (Latest)

Other relevant versions

Apotheosis 1.19.2 6.0.1

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

No response

commented

Ok, I just deleted a comment I just made. So when testing with the Mob Duplicator from Industrial Forgoing, after ~1 min when the chunks would naturally unload, the items are no longer flowing into an ender chest.

Once the mob drops stop entering the ender chest, and I monitor the quantity of the mobs loaded with Crash Utilities, that mob quantity does not go up. In addition, the item drops do not go up, so the entities are not spawning, nor are items being dropped from them being killed.

I also just for the sake of testing threw down a Quarry Plus quarry, provided it with power, had it in the chunk loading, and put the output attached to a ender chest. I then waited the minute or so for the normal minecraft chunk unloading, and confirmed that the quarry was still running.

With those two things being isolated, I think it is safe to say that the bug is on mekanisms end with how entities are being spawned perhaps?

commented

Talked a little with the apotheosis dev and they are unsure if it is even an issue with one of our mods or just some more general thing as they have heard somewhat similar things from multiple reports and believe it has to do with entity despawning. A few of their hypotheses:
a) Mobs are being instantly despawned unless a player is nearby
b) Entity spawning is blocked unless a player is nearby
c) Entities are not being ticked unless a player is nearby

They recommend trying it with another mod's spawner to see if those have issues to see if it is an apotheosis issue. (If memory serves one other mod that allows mob spawning without requiring the player to be nearby is industrial foregoing, though I may just be remembering wrong). I also somewhat wonder if potentially it is related to the way you are killing the mobs not being fully chunk loaded or some part of your RS system not being fully loaded so it is unable to actually import the stuff.

commented

Certainly, I will try out an industrial foregoing mob duplicator and reply here my results.

As for interactions with how the mobs are being killed and RS system storage, I dont think either of those are an issue.

If the mobs were not being killed, then you would see a build up of the entities with crash utilities. Not only that, but I would expect decent fluctuation with the quantity of that mob being loaded if it did not spawn.

As for the RS system being fully loaded, that does not appear to be the case as other users on the server can still have quarry's importing items into the RS system when they are not directly loading the chunks. This can be shown via looking at their ender chests.

commented

Doesn't mean it is safe to say it is on mek's end given that just means it is likely not on apotheosis' end (presuming I was right that the mob duplicator even allows spawning when no players are nearby). It still could be some other mod preventing mob spawns or instantly despawning them if there is no player nearby. As the dimensional stabilizer just uses forge/vanilla to add the chunk ticket (and the forge extensions for making it so the chunks fully tick in regards to crop ticks and the like,, granted it didn't in 1.18 do the full crop tick stuff but that doesn't matter in this case as you are on 1.19).

I will try to do some testing later today or tomorrow with just Mekanism and Apotheosis and see if I can reproduce this issue, and if I am unable to I likely will say some other mod in ATM8 is likely breaking things or intentionally stopping entities from spawning if there isn't a player nearby for performance. At which point I will close this and say you should report the issue to ATM directly

commented

Sounds good. There are certainly always a thousands other variables in modpacks that can easily get overlooked, I was just pointing out the low hanging fruit answer.

commented

Looked into this some and it is a vanilla thing (so I guess apotheosis bug). After debugging this a bit it seems that entities are added to the world, but then in their next tick they check if they should despawn and then do despawn as there are no players nearby.