DimensionalThreading icon indicating copy to clipboard operation
DimensionalThreading copied to clipboard

Bug of redstone dust signal

Open elder19260817 opened this issue 4 years ago • 1 comments

When this mod and /carpet fastRedstoneDust (fabric-carpet mod)are used at the same time, the signal of redstone powder will not be attenuated.And when /gamerule dimthread_active changed to false,the problem is still not solved.Only close fastredstonedust to solve the problem. 2021-11-02_20 53 15

elder19260817 avatar Nov 02 '21 13:11 elder19260817

@WearBlackAllDay I don't see why

{@code RedstoneWireBlock#wiresGivePower} is not thread-safe since it's a global flag. To ensure no interference between threads the field is replaced with this thread local one.

private boolean wiresGivePower = true;

RedstoneWireBlock#wiresGivePower is not a static field. Also deleting this Mixin seems to work fine. Can someone explains this to me? Thanks.

yikerman avatar Apr 28 '22 02:04 yikerman