Industrial Revolution

Industrial Revolution

5M Downloads

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

Starjumper2821 opened this issue ยท 3 comments

commented

Description:

  • LED and Incandescent Lamps from Tech Reborn do not receive energy from Industrial Revolution cables. This is confusing as the machines have no such interaction and the cable do attempt to connect.

Steps to Reproduce:

  • Place an LED Lamp next to an Industrial Revolution cable connected to a power source or a power source itself.

Technical Information:

  • Minecraft: 1.16.5
  • Fabric API: 0.34.7
  • Industrial Revolution: 1.9.17-BETA (>= 1.9.8-BETA)
  • Tech Reborn: 3.8.4+build.236
  • Modpack: All of Fabric 3

Logs:

  • No relevant information in log

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.

commented

Right I was bored and so followed up on it. The thing that generated the issue I'm experiencing is commit ecbb33c
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
.

commented

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

commented

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.