Game crashes after running for a short while. The game should continue to run as normal but it doesn't. I'm actually not sure how to reproduce the problem but I did copy the crash report for you to look at.
Description: Exception ticking world
java.lang.ClassCastException: alk cannot be cast to amp
at ayu$c.a(SourceFile:1848)
at ayr.a(SourceFile:42)
at ayn.a(SourceFile:95)
at avx.b(SourceFile:437)
at auo.a(SourceFile:803)
at auo.a(SourceFile:791)
at lv.c(SourceFile:115)
at mb.a(SourceFile:85)
at mc.c(SourceFile:147)
at lw.d(SourceFile:221)
at net.minecraft.server.MinecraftServer.D(SourceFile:626)
at net.minecraft.server.MinecraftServer.C(SourceFile:562)
at cch.C(SourceFile:154)
at net.minecraft.server.MinecraftServer.run(SourceFile:466)
at java.lang.Thread.run(Thread.java:745)Attachments
Comments 2
If I understand it correctly the method net.minecraft.world.gen.structure.StructureVillagePieces.Field2.addComponentParts(World, Random, StructureBoundingBox) tries to cast BlockAir to BlockCrops.
Did you create the world with a modded version of Minecraft or did you modify the NBT data of the world manually?
I guess it could be seen as a bug that the crop block fields of the classes are only declared as referring to a Block object. If they were declared as BlockCrops the bug would have been visible when the structures are loaded.
Please attach the crash report as
.txtfile