Fabricators-of-Create / Create

[Fabric Mod] Building Tools and Aesthetic Technology
MIT License
883 stars 200 forks source link

Reboot causes breaking powered shaft. #1195

Open MC-DotOs opened 10 months ago

MC-DotOs commented 10 months ago

Describe the Bug

Read reproduction steps.

Reproduction Steps

  1. Make a lot of steam engine and connect them all with shaft.
  2. Turn on it.
  3. Close minecraft.
  4. Reboot minecraft and open the world data.
  5. Stop the engine by stopping pumps.
  6. Many shafts break.

Expected Result

Fix it or tell me why it happens plz. I can not build large engine.

Screenshots and Videos

2023-11-16_00 29 04

Crash Report or Log

No response

Operating System

Win11

Mod Version

0.5.1d

Minecraft Version

1.20.1

Other Mods

image

Additional Context

No response

drwoops commented 10 months ago

unloading chunks (e.g. by quitting minecraft) will leave mechanisms such as steam engines in potentially weird states. stopping pumps cause updates and the weird state let steam engines start in random directions which lead to shafts being subjected to opposite rotations, which causes them to break.

goteusz-maszyk commented 7 months ago

Shouldn't steam engines "save" their spinning direction?