Create

Create

86M Downloads

Gantry contraption with a powered mechanical belt attached crashes the server if it stops because there's something (like a block) blocking its path.

sh1ku opened this issue ยท 1 comments

commented

Describe the Bug

It's a bit of a weird situation, so it's kinda hard to explain, I attached a video too. My english sucks, too, sorry about that.

A gantry carriage contraption with a simple stone block and a mechanical belt that is moving crashes the server (doesn't crash the client in a multiplayer enviroment) if there's a block preventing the carriage to move further up.
The setup makes it so the belt is always rotating, but of course it cannot do so if the gantry is moving. As soon as it stops it should just start rotating again, and it does so if the gantry contraption reaches the end without obstacles. If it has to abruptly stop because there's for example a block in its path, it crashes.

Reproduction Steps

  1. Place four vertical gantry shafts, and put a gantry carriage at the bottom.
  2. Attach a stone block to it.
  3. Attach a mechanical belt to the stone block with some glue.
  4. Put a new vertical mechanical belt that will power the other that is attached to the stone block as soon as the carriage stops moving. It should be able to power that mechanical belt regardless of where the gantry stops. In this case the gantry is 4 shafts long, so this belt must be at least 4 blocks long.
  5. Power that mechanical belt, both the vertical and the one attached to the gantry contraption should start rotating.
  6. Put another stone block exactly three blocks up the first stone block. Should be like this: a stone block, two air blocks, and then another stone block.
  7. Power the gantry until it reaches the end of the shaft. It cannot do so, because the shaft is four blocks long, but there's a stone block blocking its path three blocks up.
  8. The game crashes when trying to place the whole contraption as it stops.

Expected Result

It should not crash, it should just stop right there, and as soon as it does so, the attached mechanical belt should start rotating again.

Screenshots and Videos

https://www.youtube.com/watch?v=wywXOgD2XaY

Crash Report or Log

https://pastebin.com/7qVaKnPR

Operating System

Arch Linux (Kernel 6.1.1-273-tkg-cfs)

Mod Version

0.5.0h

Minecraft Version

1.19.2

Forge Version

43.2.4

Other Mods

No response

Additional Context

I had this issue initally on a server with lots of mods in it, but I tried this again in a fresh install with only Create and Forge installed. The crash log and the video are taken from this fresh install.

commented

Fixed in 0.5.0.i