#Custom Redstone Gate Help

3 messages · Page 1 of 1 (latest)

peak steeple
#

Link to repository: https://github.com/GordyJack/jaavaa-rewrite.git (Branch should be 1.21.7-Dev)
I'm having issues with getting one of my custom redstone gates functioning properly - the DecoderBlock. Basically the way it is supposed to work is that it will base it's output direction off of the input power. 1-5 left, 6-10 front, 11-15 right. And it does that fine. The problem comes with updating the blocks around it. If I don't update all neighbors, then when the decoder cycles turns off the redstone dust it was powering will stay on until manually updated. However, if I do update all neighbors, the clock configuration breaks and won't trigger past the first decoder.

I've attached images depicting the redstone not turning off and the "clock configuration"
BTW for the "appropriate" clock function, it should look almost exactly like a clock made out of comparators or repeaters or even one of the other custom gates I have in there, the Randomizer. I've put a comment above the block of code that you can comment out (or back in) to see the behaviour change.

Any help or fresh ideas would be greatly appreciated. Thanks!

GitHub

Contribute to GordyJack/jaavaa-rewrite development by creating an account on GitHub.

#

BTW I forgot to mention that the method doing most of the work here in messing things up is the updateTarget() method in DecoderBlock.

peak steeple
#

I was just made aware that my github repo was private. Sorry about that. Fixed now.