[Bridge fixed][Causes preview crash] ItemGolem requires ServerWorld for entity constructing, other entities may follow up
juliashepp opened this issue ยท 2 comments
Prerequisites
- I am running the latest alpha version of Structurize for my Minecraft version.
- I checked the MineColonies/Structurize wiki and made sure my issue is not covered there.
- I made sure that this issue is not a duplicate of any existing issue.
Context
- Minecraft Version: 1.16.1
- Structurize Version: 0.13.43-ALPHA
- MineColonies Version (if related bug):
- Related Mods and their Versions: Forge 32.0.108
Expected behavior
When I right click the building tool on a solid block, the GUI should pop up.
Actual behavior
When I right click the building tool on a solid block, the game immediately crashes and shows the error "The game crashed whilst loading entity nbt Error: java.lang.ClassCastException: net.minecraft.client.world.ClientWorld cannot be cast to net.minecraft.world.server.ServerWorld".
## Steps to reproduce the issue- Stand in front of a solid block
- Right click the block while holding the building tool
- The game should immediately crash
Logs
- latest.log: https://gist.github.com/juliashepp/7560fb7d035b8c60c5cf00e768512338
- crashlog: https://gist.github.com/juliashepp/d3af1a74961e327ef48a9f9ef69aa5bf
Notes
Viewers
- Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
- Add a comment if you have any insights or background information that isn't already part of the conversation.
Gonna leave this open since it's only temporary fix which will make IronGolem (problematic entity) not render in structure previews.
Please try 0.13.44-ALPHA, it should not crash anymore