Create

Create

86M Downloads

Contraption causes Crash to Desktop due to ClassCastException

muddykat-tech opened this issue ยท 0 comments

commented

Describe the Bug

I created a contraption in a multiplayer server I host for myself and a few friends.

This contraption was designed move a belt from one lane to another, while doing so a ClientSide only crash occurs.

Based on the process of creating this crash, I suspect it has something to do with how the belt wants to connect to a rotation source, but is also still a moving contraption? or is trying to become a moving contraption.

UPDATE: I've played around with this some more and found that it also occurs for rotational sources other than mechanical belts, it's just that it only crashes when the piston head retracts? for some reason.

Reproduction Steps

  1. Get a create sticky piston, some shafts, and mechanical belts and a gearshift, you'll need a power source as well.
  2. Create one belt that will be moved by the sticky piston, place the piston one block away from it
  3. have an active rotation source for each position that the moving belt will be in.
  4. place the gearshift on one side of the piston with a power source connecting it.
  5. when you activate the gearshift the game will crash. See photo of the setup that I know will cause this issue.
    ...

Expected Result

I expect that the belt will move to the new position without any issue and move back without any issue.

Screenshots and Videos

Capture

Crash Report or Log

create-clientside-crash.txt

Operating System

Windows 10

Mod Version

0.4.1

Minecraft Version

1.18.2

Forge Version

40.1.41

Other Mods

No response

Additional Context

I should note that there were no server side issue, as in, the server didn't crash nor did an error occur. However this issue does happen in single player worlds, and will cause a client to desktop crash, also note that this holds true for servers as well however the server is not effected by it.