Better Agriculture

Better Agriculture

802k Downloads

Possible bug in drawing code causes EsoTeriCraft (morph) to glitch/crash

Cat-McCatface opened this issue ยท 4 comments

commented

I've been working with the dev of EsoTeriCraft on a report about entity models causing an OpenGL error or hardlocking minecraft (not generating error report). I'm making an issue report here because it's only animals in Better Agriculture that are causing the problems.

One possibility is the entities in the mod are malformed data since mobs from other mods or vanilla don't cause the problems. Visual glitched included dinnerbone/upside down animals around player, and animals and mobs merging with the player model but only when in 3rd person view.

the drawing error log is

#### GL ERROR

[20:48:49] [Client thread/ERROR]: @ Post render
[20:48:49] [Client thread/ERROR]: 1283: Stack overflow
[20:48:49] [Client thread/ERROR]: Couldn't render entity
java.lang.ClassCastException: net.minecraft.client.model.ModelCow cannot be cast to net.minecraft.client.model.ModelBiped
at net.minecraft.client.renderer.entity.layers.LayerHeldItem.func_188358_a(LayerHeldItem.java:59) ~[bts.class:?]
at net.minecraft.client.renderer.entity.layers.LayerHeldItem.func_177141_a(LayerHeldItem.java:42) ~[bts.class:?]
at net.minecraft.client.renderer.entity.RenderLivingBase.func_177093_a(RenderLivingBase.java:486) ~[bsa.class:?]
at net.minecraft.client.renderer.entity.RenderLivingBase.func_76986_a(RenderLivingBase.java:209) [bsa.class:?]
at net.minecraft.client.renderer.entity.RenderLiving.func_76986_a(RenderLiving.java:50) [bsd.class:?]
at net.minecraft.client.renderer.entity.RenderLiving.func_76986_a(RenderLiving.java:16) [bsd.class:?]
at temportalist.esotericraft.emulation.client.EntityModel.forceRender(EntityModel.scala:27) [EntityModel.class:?]
at temportalist.esotericraft.transmorigification.client.Client$.renderPlayerPre(Client.scala:197) [Client$.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_125_Client$_renderPlayerPre_Pre.invoke(.dynamic) [?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49) [ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:?]
at net.minecraft.client.renderer.entity.RenderPlayer.func_76986_a(RenderPlayer.java:58) [buh.class:?]
at net.minecraft.client.renderer.entity.RenderPlayer.func_76986_a(RenderPlayer.java:28) [buh.class:?]
at net.minecraft.client.renderer.entity.RenderManager.func_188391_a(RenderManager.java:378) [brj.class:?]
at net.minecraft.client.renderer.entity.RenderManager.func_188388_a(RenderManager.java:362) [brj.class:?]
at net.minecraft.client.renderer.RenderGlobal.func_180446_a(RenderGlobal.java:800) [bnl.class:?]
at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1726) [bnd.class:?]
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1555) [bnd.class:?]
at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1334) [bnd.class:?]
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1077) [bcd.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:369) [bcd.class:?]
at net.minecraft.client.main.Main.main(SourceFile:124) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
[20:48:49] [Client thread/ERROR]:

commented

Implemented mod support, hopefully, let me know if still not working

commented

What version of the mod is this?

commented

Better AG: 1.9-0.13a
EsoTeriCraft-1.9.4-0.0.1.73
Forge: 1954 (1.9.4)

commented

Thanks for reporting it, support for EsoTeriCraft will be added in a future update