Closed PhlompfDev closed 2 years ago
There's a config option that does exactly what you want - shellStorageMaxUnpoweredLifespan
. You can change it manually in the config file (./config/sync.json), or via ModMenu.
Let me know, which value solves the issue, and I may set it as default one.
I'm closing this one, because this is not really an issue, it's just how things work - if a shell container loses power, its shell will die.
Treadmills are not a reliable power source, they are meant to be fun, no more, no less. Like, I would not entrust production of energy for cooling a nuclear reactor or for a life support system to a pig running on a treadmill. If you want to deal with well known vanilla mechanics like chunk loading/unloading, it's up to you, but the mod itself has nothing to do with this.
If you will find a value for the shellStorageMaxUnpoweredLifespan
property, that will make things reliable, please, let me know, because I may set it as default one. Otherwise, you still have a redstone block and power sources from tech mods as an option.
What happened?
Shells disappear when changing dimensions, not sure whether it's when you enter a new one, or leave it.
Update: I believe the shells disappear due to the fact that all pigs stand up when I unload the chunk, causing the storage unit to lose power.
Update #2: Problem solved, by force loading the chunk, storage units do not lose power, thus the shells continue living. The solution I suggest you add is maybe allowing more time without power before the shells die, or maybe have them chunk load themselves.
Version
sync-mc1.18-3.1
Minecraft Version
fabric-loader-0.12.12-1.18.1
Fabric API Version
fabric-api-0.45.0+1.18
Installation Source
CurseForge
Logs
Other Mods
Additional Information
No response