RFTools

RFTools

74M Downloads

Logic gate doesn't recognize a redstone dust input which has other dust at a right angle from the gate

tansheron opened this issue ยท 0 comments

commented

Repro steps:

  • Create the redstone circuit shown in the attached screenshot
  • Configure the logic gate to output On whenever input B is On

Expected result:

  • The logic gate outputs On

Actual result:

  • The logic gate outputs Off

Other info:

  • Minecraft 1.10.2
  • Forge 12.18.2.2107
  • RFTools 1.10-5.53
  • McJtyLib 1.10-2.1.4
  • Windows 8.1 Professional x64

I debugged into ThreeLogicBlock.checkRedstone a bit, specifically the "int powered2 = getInputStrength(world, pos, inputSide) > 0 ? 2 : 0;" line. Line 419 in BlockRedstoneWire.class - "else if (enumset.contains(side) && !enumset.contains(side.rotateYCCW()) && !enumset.contains(side.rotateY()))" - seems like the source of the problem. Unless I'm missing something fundamental and non-obvious, the logic gate's input should come only from the input dust itself. The gate shouldn't care where the input dust gets its own inputs from.

circuit