Movecraft icon indicating copy to clipboard operation
Movecraft copied to clipboard

Sinking craft double chest protection

Open ethankdoan opened this issue 1 year ago • 3 comments

Describe the bug It happens about half the time when a ship sinks and when the ship hits the seafloor at y ~ 30 the craft continues to exist and the anvil noise associated with a "cannot translate craft" repeatably sounds. No message appears to the player but the sound continues until disconnect. The craft continues to exist with no player attached (using /craftreport) and cannot be broken (with piloted ship protection on). Usually no error in console occurs.

To Reproduce Steps to reproduce the behavior:

  1. Install Movecraft and place a ship ~1000 blocks
  2. Sink the ship /scuttle or tnt works
  3. Wait for it to sink
  4. Observe repeated cannot translate anvil noise.

Expected behavior Proper sinking, craft collapses properly and stops existing.

Screenshots If applicable, add screenshots (or videos) to help explain your problem. https://youtu.be/ICVyOC-fC9Y Versions (please complete the following information):

  • Movecraft dev build Movecraft_6422b9857e52071fa28ad476b5ce9dfd64b6c67d.jar (https://github.com/APDevTeam/Movecraft/actions/runs/11084320286)
  • No add-ons
  • Java 21
  • Paper 1.21.1

Additional context I used the following schematic file and here are logs https://mclo.gs/MoNZ4Lq. Also used the default ship craft. SchoonerI1.zip

ethankdoan avatar Oct 06 '24 02:10 ethankdoan

update: This bug seems to happen to ships with barrels on them

ethankdoan avatar Oct 14 '24 21:10 ethankdoan

This likely is the anti double-chest merging protection kicking in and preventing the craft from moving in a way which could create a double chest (or a double barrel).

TylerS1066 avatar Nov 02 '24 18:11 TylerS1066

In a similar vein, forbidden blocks should also not stop movement of sinking crafts.

TylerS1066 avatar Mar 10 '25 18:03 TylerS1066