GabrielOlvH / Industrial-Revolution

An Industrial mod made for Fabric.
Apache License 2.0
197 stars 58 forks source link

[BUG] [Mod Interaction] Tech Reborn Lamps not receiving energy #309

Closed Starjumper2821 closed 3 years ago

Starjumper2821 commented 3 years ago

Description:

Steps to Reproduce:

Technical Information:

Logs:

Details: Tech Reborn had several problems with the Lamps, it is probable they interact with energy differently than machines. Industrial Revolution 1.8.10-BETA interacts correctly.

Starjumper2821 commented 3 years ago

I have found that the issue persists into version 1.9.18-BETA and begins in 1.9.8-BETA.

Starjumper2821 commented 3 years ago

Right I was bored and so followed up on it. The thing that generated the issue I'm experiencing is commit ecbb33cd998476f409d76c87710da1fb1a217ea0 on the 5th of may 20:34. I believe it is specifically this line and similar: val target = energyOf(world, targetPos, targetDir) ?: continue val target = energyOf(world, targetPos, targetDir.opposite) ?: continue

The reason for this belief is in the image 2021-09-26_14 21 12 .

GabrielOlvH commented 3 years ago

Thanks for reporting, it should be fixed as of 1.11.0-alpha.2 which will be available shortly on CurseForge. The fix will not be backported to 1.16 as this is caused by incompatbile energy APIs.