Fix jade compat of remove FE and Fluid tooltip#8799
Conversation
|
the idea behind the fluid storage removal is to show (partially) filled tanks, but not empty ones, since that would clutter stuff a lot (the interface has 9 tanks otherwise). For the FE storage, it only really makes sense for standalone devices that aren't connected to the network (e.g. inscriber, charger), but that sounds a lot more complicated than just not showing the FE tooltip. |
For fluid storage tooltip, I’m very certain that the original |
|
Regarding the tooltips for fluids I'd think empty tanks should not appear in the list, but you "after" variant does not show any fluids, not even the partially filled water tanks, assuming the interface is in the same internal state as in the "before" variant. To assess if the first screenshot is actually correct or not I'd have to see the interface GUI. If two slots in the interface actually have one bucket of water each then the "before" screenshot would be correct in my opinion. If however only one slot in the interface has one bucket of water and all others are empty the "before" would indicate that it is wrong. |
Uh, I think I need to explain the fluid tooltip situation in more detail: If you have any further questions, I’ll answer after I wake up tomorrow. |





The calls to
tooltip.remove(JadeIds.UNIVERSAL_ENERGY_STORAGE_DETAILED)andtooltip.remove(JadeIds.UNIVERSAL_FLUID_STORAGE_DETAILED)currently have no effect. As a result, many block entities that extendAEBaseBlockEntitystill display both FE and AE energy at the same time. This is especially noticeable for addon authors like myself.In addition, even AE2’s own blocks can end up with inconsistent tooltips. For example, the Inscriber requires a direction to be provided when querying its energy capability; otherwise the query returns
null. Because of that, Jade can’t obtain the information and ends up showing only AE energy. Meanwhile, blocks like the ME Controller will show both FE and AE energy.I also adjusted the fluid-tooltip removal so that it actually takes effect. However, I’m not sure whether you intentionally wanted to remove the fluid tooltip in the first place, since fluid information doesn’t conflict with other tooltip lines. If that wasn’t the intention, you can simply remove that line.
before:


after:

