GregTech CE Unofficial

GregTech CE Unofficial

412k Downloads

Removing frames from pipes in structure won't cause multiblock structure invalidization

MCTian-mi opened this issue ยท 1 comments

commented

GregTech CEu Version

2.8.10

Modpack Used

No response

Addons Installed

No response

Environment

Singleplayer

New Worlds

Yes

Cross-Mod Interaction

No

Expected Behavior

Multiblocks should invalidiate themselves when the frames from pipes in their structure.

Actual Behavior

No they don't.

Steps to Reproduce

  1. Build a multiblock with frames in their structure (using frames() predicate in code) using framed pipes.
  2. The multiblock forms sucessfully.
  3. Removing frames from pipes using a crowbar.
  4. The multiblock thinks it's still formed.

Additional Information

image

commented

The reason why a multiblock isn't invalidiating itself is probably the blockstate isn't changed before and after the removal of frames, which let it pass the cach checking.