You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReactorPowerTapTile.java and its ancestors ReactorBaseTile and PhosphophylliteTile do not override invalidateCaps
PhosphophylliteTile.java::onRemove(boolean chunkUnload) (a Phos mod method) is overridden by PowerBlackHoleTile.java to invalidate the capability apparently
but for ReactorPowerTapTile.java I don't see it doing anything similar.
I put a breakpoint on private void invalidate(LazyOptional<IPhosphophylliteEnergyHandler> ignored) { inside IEnergyTile.java and it doesn't get hit when the chunk is being unloaded.
My mod's invalidation listener isn't getting fired which is how I found this :(
The text was updated successfully, but these errors were encountered:
generally its expected that mods that can take power accept a push from a producer, in which case this should still function despite behaving incorrectly. I will correct this, however for the sake of general compatibility you should also be listening form your side for block changes and re-check for capabilities rather than relying solely on the capability to be invalidated, I am probably not the only one failing to invalidate caps on block removal.
Yeah I only noticed this because I forgot to bust my cache when chunks were unloading lol.
In my case, SFM only can pull power from capabilities and its cables have no buffer for RF producers to push into which has also caused problems with flux plugs.
SFM for now is not listening to block update events for invalidation, if it becomes a bigger problem that's a good area for me to look into.
ReactorPowerTapTile.java
and its ancestorsReactorBaseTile
andPhosphophylliteTile
do not overrideinvalidateCaps
PhosphophylliteTile.java::onRemove(boolean chunkUnload)
(a Phos mod method) is overridden byPowerBlackHoleTile.java
to invalidate the capability apparentlybut for ReactorPowerTapTile.java I don't see it doing anything similar.
I put a breakpoint on
private void invalidate(LazyOptional<IPhosphophylliteEnergyHandler> ignored) {
insideIEnergyTile.java
and it doesn't get hit when the chunk is being unloaded.My mod's invalidation listener isn't getting fired which is how I found this :(
The text was updated successfully, but these errors were encountered: