Skip to content

Power Grid wires break / desync when moved by Aeronautics Physics Assembler #1429

Description

@Daxfgr

Description

Describe the bug
When using Create Aeronautics' Physics Assembler on a structure containing both Create blocks and Create: Power Grid blocks connected by a wire, activating gravity/physics causes a desync:

  • Create blocks move correctly
  • One Power Grid block moves correctly
  • The other Power Grid block stays frozen/floating in its original position
  • The wire connecting the two Power Grid blocks breaks and disappears

To Reproduce

  1. Build a structure with a Create Aeronautics Physics Assembler
  2. Include Create blocks and at least two Power Grid blocks connected by a wire
  3. Activate gravity/physics on the assembled structure
  4. Observe: one Power Grid block does not move with the rest of the structure, and the connecting wire is destroyed

Log excerpt
[Server thread/DEBUG] [mixin/]: Mixing sable.SubLevelAssemblerMixin from powergrid.mixins.json into dev.ryanhcode.sable.api.SubLevelAssemblyHelper
[Server thread/DEBUG] [mixin/]: powergrid.mixins.json:sable.SubLevelAssemblerMixin from mod powergrid->@Inject::powerGrid$moveWireStuff(...)
[Render thread/ERROR] [dev.ryanhcode.sable.Sable/]: Received a sub-level movement packet for a non-existent sub-level

This suggests a timing/race condition: Power Grid's moveWireStuff mixin injection fires before Sable finishes initializing the sub-level for the assembled structure.

Environment

  • Minecraft: 1.21.1
  • NeoForge: 21.1.247
  • Sable: 2.0.3
  • Create: Power Grid: 0.5.5.1
  • Create: 6.0.10
  • Create Aeronautics: 1.3.0

Expected behavior
All blocks (including Power Grid blocks and wires) should move together with the rest of the assembled structure without desyncing or breaking.

Game Log

https://mclo.gs/UmGcswq

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions