Djinni Machine Operator doesn't work with chunk-loading
natrow opened this issue ยท 10 comments
Describe the bug
Leaving a djinni machine operator in the spawn chunk with the storage accumulator, then starting a job does nothing until players are close enough
To Reproduce
Steps to reproduce the behavior:
- Create djinni machine operator in spawn chunk
- Travel outside the range
- Start a job for the djinni
- Nothing happens
- get closer
- job gets done
Expected behavior
Djinni should move items into/out of the machine when the chunks are loaded
System (please complete the following information):
- Occultism Version: 1.2.4
- OS: Windows 10
- Minecraft Version: 1.16.5
- Modpack Link and Version, or list of mods:
- Hell-1.1.zip (custom pack)
Additional context
On a multiplayer server
This is not really something I can influence - the spirits are normal minecraft entities with normal minecraft AI - chunk loading/unloading is all handled automatically without my influence :)
This is likely either an issue with the chunk loading mod (unlikely, they usually just use vanilla mechanics as well), or an optimization mod that turns off AI if not near a player (very likely).
Try to remove mods like performant and others of it's kind and see if that helps.
Its in the spawn chunk, there is no chunk loader (yet). But Ill try removing performant and others
Thanks for checking - that is actually another issue, it seems it cannot find the tile entity - just to verify, you are using a storage accessor? The methods called in the log should not even be called for the accessor, so there may be a regression somehwere
I used a storage wormhole this time, on the server I was using an accessor. If you want I can try with the accessor as well
Can you try with the accessor as well, just to compare?
I'll look into the wormhole
So whatever issue I had with the accessor not working must've been caused by a different mod in the pack like you theorized. It seems the only issue now is with the wormhole causing crashes
Ok, I gave this a try in a singleplayer world with only the newest version of occultism, patchouli, curios, and waystones loaded. The work order worked as expected when I was at the spawn chunk, the accumulator opened as expected when I tp'd away since the spawn chunk was loaded, however when I started the work order from that distance my game straight up crashed.
Crash log:
https://pastebin.com/Rsay7pgH
So it looks like both performant and optifine's smooth world break the functionality, none of the other mods in my pack caused the issue (I'm leaving this in case someone else has the issue)