Skip to content

Dereffered item/fluid storage usage? #1628

Answered by SquidDev
SirEdvin asked this question in Q&A
Discussion options

You must be logged in to vote

Oh no. Computers not updating peripherals has been a very long standing issue, and I can't say I'm thrilled to see it again.

The problem with re-fetching the storage for each method call (which is what I think you're proposing with the deferred strategy) is that the storage may change types (or vanish), which then means your methods no longer work - Plethora used to suffer from this a lot. I guess it's no worse than the current problem of operating on an invalid storage though.

It might be worth opening an issue on Modern Industrialisation issue tracker asking if they'd be willing to fire a block update after the multiblock is formed.

We could also hook into comparator changes (which we d…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SirEdvin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants