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
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
- Place four vertical gantry shafts, and put a gantry carriage at the bottom.
- Attach a stone block to it.
- Attach a mechanical belt to the stone block with some glue.
- 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.
- Power that mechanical belt, both the vertical and the one attached to the gantry contraption should start rotating.
- 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.
- 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.
- 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
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.