Pipez

Pipez

31M Downloads

1.20.4 Neoforge Energy pipes needs update to start extracting.

KodYazanDruid opened this issue ยท 10 comments

commented

Bug description

I am using pipez in my dev enironment and wanted to test my wrapped energy capability. It is working with mekanism cables fine but pipez pipes needs an update to start extracting
https://github.com/KodYazanDruid/Eternal-Artifacts-Neoforge/blob/e53906e7dc75b41938005d238abcdda353bdfcac/src/main/java/com/sonamorningstar/eternalartifacts/network/SidedTransferAutoSaveToServer.java#L49 when i press the button that sends this packet pipe starts extracting.

Minecraft version

1.20.4

Mod version

Pipez 1.20.4-1.2.7

Mod loader and version

NeoForge 20.4.235

Steps to reproduce

Try to extract fe from any block that doesn't update neighbors regularly.

Expected behavior

No response

Log files

there is no crash

Screenshots

No response

commented

Can you give exact steps to reproduce this issue?

commented

I simply put my block down and gave it some fe then i tried to transfer that fe to another battery block but it didn't work. Then i pressed the button that enables auto input/outputs it started transfering energy. Ik pipe doesn't have capability but the button i press sends a packet to server that updates the block and its neightbors. And i tought pipe needs some sort of update to start transfering.

commented

Does this also happen with other mods that have blocks that store FE?

commented

It works fine on mekanism machines and it even works on my other generator block but for some reason it doesn't work with BatteryBlock. Even if i register its capability without wrapped class.

commented

It works fine on mekanism machines and it even works on my other generator block but for some reason it doesn't work with BatteryBlock. Even if i register its capability without wrapped class.

I guess its an issue with your mod then. Double check your capabilities. NeoForge did a lot of changes to the capability system.

commented

I commented distributePower() method on the generator block and pipe is not extracting from the generator block. I am registering
https://github.com/KodYazanDruid/Eternal-Artifacts-Neoforge/blob/main/src/main/java/com/sonamorningstar/eternalartifacts/capabilities/ModEnergyStorage.java which extends EnergyStorage class as capability. I am not sure what is the issue.

commented

image
The One Probe says ".get3DDataValue()" cannot invoke because side is null

Error is this :https://gist.github.com/KodYazanDruid/24cb0e8c1698a699fca9348fea322879 pipe cannot find energy storage i think

commented

https://gist.github.com/KodYazanDruid/d45a97f22e8311ff7e11d107620cc173 prints this when i set extract mode on mekanism energy cube

commented

This has already been fixed with b631f68

commented

And its backported with 01deb96