Skip to content

Mechanical bearings connecting to each other as contraption can delete the primary contraption and can be utilized for mass destruction #4063

@yezhiyi9670

Description

@yezhiyi9670

Describe the Bug

Assume we have two mechanical bearings A and B, with their respective contraptions a and b. If B is in a and A is in b, when we rotate A, contraption a (including bearing B) will get deleted without drops.

This is different from #3831 - the destroy structure will not drop, and it is destroyed for completely 'no reason', not because of being overlapped by another contraption.

Reproduction Steps

  1. Place a contraption A, and attach a contraption a to it.
  2. Place another bearing B with contraption b attached.
  3. Glue A to b and B to a.
  4. Use a hand crank to activate A.

Here we can see the whole a is deleted, including B.

Expected Result

Since b could be viewed as a secondary contraption of A, the structure is illegal. Expected behavior could be:

  • Bearing B breaks,
  • Bearing A does not spin its contraption, giving a 'Failed to assemble' error, or
  • Bearing B and its contraption works correctly as the secondary contraption of A, but A stays unmoved.

Screenshots and Videos

image

image

image

Crash Report or Log

No response

Operating System

Windows 11

Mod Version

0.5.0e

Minecraft Version

1.18.2

Forge Version

40.1.73

Other Mods

No response

Additional Context

It is a natural question that what will happen when N bearings connect to each other in a loop. Actually, things will break when N≥2, but seemly not always when N>2.

Since some players are utilizing this feature for fun, it is advisable to add a config option which unfixes it, once it is fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: confirmedIssue's details are known, it is consistently reproducible, and it needs a fixtype: bugIssue where something isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions