I'm having the strangest problem with my modded Minecraft right now. For some odd reason, every time a custom projectile is fired, whether it'd be from a weapon I'm using, a mob, a block (ex. SecurityCraft Turret) or anything that isn't vanilla, my Minecraft freezes before crashing, getting the following:
The game crashed whilst ticking player Error: java.lang.ClassCastException: com.adrian.extraweapons.item.AutomaticPistolItem$ArrowCustomEntity cannot be cast to net.minecraft.entity.projectile.ArrowEntity
The only thing that tends to be different on the error message is which projectile it's referring to, if that wasn't obvious.
Anyways, every time this crash happens and I reopen the world, it renders moments before the crash occurs, which will do things like revert world changes. I don't know if this has happened before but I wanna find out. I'm willing to be one of my mods is to blame, so I'll list what I have installed, however, I will say this has never happened to me before, ever, so I'm pretty much stumped. Furthermore, increasing or decreasing the installation's RAM doesn't seem to help at all, and same with removing the duplicates I had accidentally put in my mods folder, which were of an earlier build. I appreciate any help you can or will give me, because if I don't solve this, I won't be able to play modded Minecraft, at least not properly. Thanks in advanced,
It happened when one of the Obsidian Utilities mobs threw a projectile at me and when a Sentry Turret from SecurityCraft shot its custom projectile, too. Both times plus the one from Extra Weapons, my game crashed specifically from the custom projectile being used and appearing. Although I won't completely deny your idea that it's Extra Weapons.
This error here: Error: java.lang.ClassCastException: com.adrian.extraweapons.item.AutomaticPistolItem$ArrowCustomEntity cannot be cast to net.minecraft.entity.projectile.ArrowEntity That means the mod Extra Weapons is attempting to cast a class Called ArrowCustomEntity to ArrowEntity, and minecraft is having none of it. So either it's custom weapons, or an event handler from another mod, the crash report is restricted access, so I can't find out for sure