McJtyMods / XNet

Advanced item/liquid/energy/... networking
MIT License
94 stars 53 forks source link

[1.16.5] Can't read redstone value directly from comparator and repeater #482

Open radiomike opened 3 years ago

radiomike commented 3 years ago

Issue description:

Connector visibly connects to a comparator or repeater output, but only ever reads 0 as the redstone level.

Steps to reproduce:

Place comparator readable block in world, with comparator attached. Good example is a full, or part filled chest.

Place connector block on comparator output side. You will see it visibly "connect" to the comparator.

Create xnet.logic channel and set connector to read Rs level.

When you test the logic by driving a suitable output, you will find input connector only registers redstone level 0. Same applies if using a repeater as instead.

As a comparison, if you place a redstone dust on the output of a comparator or repeater, xnet will read the redstone level correctly from the dust.

Versions:

Possibly incompatible mods and versions: Tested with only rftools base and rftools power.

Relevant logs, if any: Nothing in logs

jdratlif commented 1 year ago

This also happens with rftools wireless redstone receivers. I have to add a piece of redstone in between the connector and the block. This is in 1.16 and 1.18.