dannydjdk / Tiny-Pipes

Add-On mod for Tiny Redstone (Forge mod for Minecraft) that adds tiny item, fluid, energy and redstone pipes that you can put on Tiny Redstone's panels or place in world for compact builds.
https://www.curseforge.com/minecraft/mc-mods/tiny-pipes
GNU General Public License v3.0
0 stars 1 forks source link

Compatibility with Flux Networks mod #3

Open dannydjdk opened 2 years ago

dannydjdk commented 2 years ago

Flux Plug and Flux Point blocks from Flux Networks do not connect to Tiny Energy Pipes and will not accept or provide any energy. The problem is that both mods are relying on other mods to expose their capabilities before exposing their own.

This is likely related to this issue: https://github.com/SonarSonic/Flux-Networks/issues/453 However, this can be fixed on either end. Fixing it for Tiny Pipes will assure that they will work with any other mods doing the same thing.

Tiny Pipes uses the Tiny Redstone API, and the pipes exist within a block entity defined by Tiny Redstone. Therefore, some changes will need to be made in Tiny Redstone to allow add-ons to dynamically define capabilities.

DragonEmbers commented 1 year ago

(MC 1.20.1) Can you please list any mods that the energy pipes are compatible with? It would seem they are unable to accept energy from: Flux networks, UsefulMachinary, RFTools, DeepResonance or ExtremeReactors and are unable to provide energy to: Flux networks, UsefulMachinary, RFTools, DeepResonance, AE2

(I ask because I really like the concept of the pipes, but I cannot get the energy pipes to work... items are fine, fluids are ok for the most part, but not the energy)

dannydjdk commented 1 year ago

Any mod block that properly stores, accepts and makes forge energy available using forge capabilities should work with this mod. The problem with the Flux Plug and Flux Point from Flux Networks, is that they act like pipes. They don't make the network's energy storage available through forge capabilities. There isn't much I can do about that other than changing my pipes to behave more like energy storage than pipes which may not be practical. In my testing, most other pipe mods also don't work with Flux Networks, so an intermediary storage block is necessary.

Other than flux networks, I haven't run into any mods that don't accept or receive from Tiny Pipes, so I appreciate you bringing these to my attention. I have specifically worked with RF Tools without issue though, so perhaps something changed in 1.20.1. I have also worked with Thermal mods, Immersive Engineering and several other smaller FE-based mods with expected results. I will do some testing with the mods you mentioned and see what I can do.

dannydjdk commented 1 year ago

@DragonEmbers One question? Are you using the full block sized pipes or the really tiny ones?

DragonEmbers commented 1 year ago

I've tried using both. Thanks for looking into it!

FWIW, I tried looking into it myself, but Java & minecraft modding are not my areas of expertise. As far as I could see, the deep resonance and RF Tools mods are both using the forge capabilities API's (theyre both using the same library incidentally... https://github.com/McJtyMods/McJtyLib/blob/1.20/src/main/java/mcjty/lib/tileentity/CapType.java) and so does the extreme reactors mod (https://github.com/ZeroNoRyouki/ZeroCore2/blob/master/src/main/java/it/zerono/mods/zerocore/lib/energy/adapter/ForgeEnergyAdapter.java)

DragonEmbers commented 1 year ago

image

Example image shows:

All of the above configurations were tested independently, but shown together as one for the screenshot