-
-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comparator update order different from vanilla #1863
Comments
Code analysis: Level.java: updateNeighbourForOutputSignal uses Direction.values() instead of Direction.Plane.HORIZONTAL. These have different iteration order for the horizontal directions |
Seems like this is for a vertical comparator implementation |
After digging through the patch |
The issue also includes the vertical updates existing, which is detectable and different from vanilla. I think in some reasonable setups this might occur accidentally, breaking contraptions. (Comparator update detector above or below some other inventories.) This setup updates the detector with neoforge, but not in vanilla. For some reason placing the comparator directly on the hopper doesn't trigger the behavior, I don't understand why. |
Ah you are implementing
But it is not implemented for the 2 block range update. I suggest removing the check above and instead doing something at the point of sending the comparator updates |
I suggest if you want to keep the vertical updates, reorder them as in the PR and then instead of An alternative might be to implement the second update with the same code path as the first update |
Minecraft Version: 1.21.4
NeoForge Version: 21.4.50-beta
Steps to Reproduce:
Description of issue:
With neoforge:
With vanilla:
Neoforge's comparator update order seems to be different from vanilla
The text was updated successfully, but these errors were encountered: