BuildCraft|Factory

BuildCraft|Factory

7M Downloads

Gates don't provide power on the client side

2xsaiko opened this issue ยท 3 comments

commented

BuildCraft version: 7.99.17
Forge version: 14.32.2.2643
Singleplayer or multiplayer: Both
Steps to reproduce: Query World#isBlockIndirectlyGettingPowered or similar on the client
Additional information: This is because gates only tick on the server side (GateLogic#onTick returns early if it is a client world) and the redstone outputs are not synced. This should probably be consistent across sides though.

commented

what are you doing that needs a redstone signal on the client side? normally all logic should be done on the server side

commented

GUI logic

commented

While I'd like to not fix this so that we don't need to send packets whenever a gate toggles it's redstone output I'm not sure if it's actually that big of an optimisation.

Although I feel like gui logic should mostly be done on the server, it would probably be simpler to fix on our side than yours.