{"action":"created","issue":{"url":"https://api.github.com/repos/WildBamaBoy/minecraft-comes-alive/issues/754","repository_url":"https://api.github.com/repos/WildBamaBoy/minecraft-comes-alive","labels_url":"https://api.github.com/repos/WildBamaBoy/minecraft-comes-alive/issues/754/labels{/name}","comments_url":"https://api.github.com/repos/WildBamaBoy/minecraft-comes-alive/issues/754/comments","events_url":"https://api.github.com/repos/WildBamaBoy/minecraft-comes-alive/issues/754/events","html_url":"https://github.com/WildBamaBoy/minecraft-comes-alive/issues/754","id":165898039,"number":754,"title":"Crash on Attack Entity","user":{"login":"QORTEC","id":4239654,"avatar_url":"https://avatars.githubusercontent.com/u/4239654?v=3","gravatar_id":"","url":"https://api.github.com/users/QORTEC","html_url":"https://github.com/QORTEC","followers_url":"https://api.github.com/users/QORTEC/followers","following_url":"https://api.github.com/users/QORTEC/following{/other_user}","gists_url":"https://api.github.com/users/QORTEC/gists{/gist_id}","starred_url":"https://api.github.com/users/QORTEC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QORTEC/subscriptions","organizations_url":"https://api.github.com/users/QORTEC/orgs","repos_url":"https://api.github.com/users/QORTEC/repos","events_url":"https://api.github.com/users/QORTEC/events{/privacy}","received_events_url":"https://api.github.com/users/QORTEC/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2016-07-16T00:08:35Z","updated_at":"2016-08-03T09:21:00Z","closed_at":null,"body":"<!-- DO NOT DELETE THE CONTENT ON THIS PAGE. FILL OUT ENTIRELY -->\r\n<!-- PLEASE DIRECT SUGGESTIONS TO THE MCA FORUM PAGE AT http://goo.gl/8iOZkR -->\r\n<!-- PLEASE TICK THE CHECKBOXES WITH AN X. -->\r\n- [x] I am running the latest mod versions of MCA and RadixCore.\r\n- [ ] I can reproduce this issue with just MCA and RadixCore installed.\r\n- [x] I can provide my Minecraft version and MCA version.\r\n- [x] I have searched for the issue previously and it was either not previously reported, or previously fixed and I'm having the same problem.\r\n- [x] I am crashing and can provide my crash report.\r\n\r\n<!-- If your issue matches AT LEAST 4 of the criteria above, continue. -->\r\n<!-- VERSIONS - Please specify your Minecraft version and MCA version below ## Versions -->\r\n## Versions\r\nMinecraft: 1.7.10\r\nForge: 10.13.4.1614\r\nMCA: 5.2.1\r\nRadixCore: 2.1.2\r\n\r\n<!-- ISSUE DESCRIPTION - Please describe the issue in detail. -->\r\n## Issue Description\r\nOccasionally when attacking entities the game will crash.\r\nI noticed this in the Overworld when hitting a Villager, and in The Last Millennium when attacking mobs.\r\n\r\n<!-- REPRODUCE STEPS - Please describe how I can reproduce this issue below ## Reproduce Steps. -->\r\n## Reproduce Steps\r\nAttack an entity.\r\n\r\n<!-- ADDITIONAL INFORMATION - Please post any crash reports, stacktraces, profiler reports, etc. here. -->\r\n## Additional Information\r\nI haven't gotten to fully debugging this issue...\r\n\r\nFull Crash Log:\r\nhttps://gist.github.com/QORTEC/a454c02011133399107d9d3127bf1026\r\n\r\nSnippet:\r\n````\r\njava.lang.ClassCastException: net.minecraft.entity.passive.EntityVillager cannot be cast to mca.entity.EntityHuman\r\n\tat mca.core.forge.EventHooksForge.onLivingAttack(EventHooksForge.java:259)\r\n\tat cpw.mods.fml.common.eventhandler.ASMEventHandler_423_EventHooksForge_onLivingAttack_LivingAttackEvent.invoke(.dynamic)\r\n\tat cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)\r\n\tat cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)\r\n\tat net.minecraftforge.common.ForgeHooks.onLivingAttack(ForgeHooks.java:292)\r\n\tat net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:737)\r\n\tat net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:1232)\r\n\tat net.minecraft.client.multiplayer.PlayerControllerMP.func_78764_a(PlayerControllerMP.java:406)\r\n\tat net.minecraft.client.Minecraft.func_147116_af(Minecraft.java:1393)\r\n\tat net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1948)\r\n\tat net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)\r\n\tat net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)\r\n\tat net.minecraft.client.main.Main.main(SourceFile:148)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat net.minecraft.launchwrapper.Launch.launch(Launch.java:135)\r\n\tat net.minecraft.launchwrapper.Launch.main(Launch.java:28)\r\n````\r\n\r\nSnippet:\r\n````\r\njava.lang.ClassCastException: net.minecraft.entity.passive.EntityVillager cannot be cast to mca.entity.EntityHuman\r\n\tat mca.core.forge.EventHooksForge.onLivingAttack(EventHooksForge.java:259)\r\n\tat cpw.mods.fml.common.eventhandler.ASMEventHandler_421_EventHooksForge_onLivingAttack_LivingAttackEvent.invoke(.dynamic)\r\n\tat cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)\r\n\tat cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)\r\n\tat net.minecraftforge.common.ForgeHooks.onLivingAttack(ForgeHooks.java:292)\r\n\tat net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:737)\r\n\tat tconstruct.library.tools.AbilityHelper.onLeftClickEntity(AbilityHelper.java:126)\r\n\tat tconstruct.library.tools.ToolCore.onLeftClickEntity(ToolCore.java:611)\r\n\tat net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:1190)\r\n\tat net.minecraft.client.multiplayer.PlayerControllerMP.func_78764_a(PlayerControllerMP.java:406)\r\n\tat net.minecraft.client.Minecraft.func_147116_af(Minecraft.java:1393)\r\n\tat net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1948)\r\n\tat net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)\r\n\tat net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)\r\n\tat net.minecraft.client.main.Main.main(SourceFile:148)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat net.minecraft.launchwrapper.Launch.launch(Launch.java:135)\r\n\tat net.minecraft.launchwrapper.Launch.main(Launch.java:28)\r\n````"},"comment":{"url":"https://api.github.com/repos/WildBamaBoy/minecraft-comes-alive/issues/comments/237187292","html_url":"https://github.com/WildBamaBoy/minecraft-comes-alive/issues/754#issuecomment-237187292","issue_url":"https://api.github.com/repos/WildBamaBoy/minecraft-comes-alive/issues/754","id":237187292,"user":{"login":"Drobot432","id":20507236,"avatar_url":"https://avatars.githubusercontent.com/u/20507236?v=3","gravatar_id":"","url":"https://api.github.com/users/Drobot432","html_url":"https://github.com/Drobot432","followers_url":"https://api.github.com/users/Drobot432/followers","following_url":"https://api.github.com/users/Drobot432/following{/other_user}","gists_url":"https://api.github.com/users/Drobot432/gists{/gist_id}","starred_url":"https://api.github.com/users/Drobot432/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drobot432/subscriptions","organizations_url":"https://api.github.com/users/Drobot432/orgs","repos_url":"https://api.github.com/users/Drobot432/repos","events_url":"https://api.github.com/users/Drobot432/events{/privacy}","received_events_url":"https://api.github.com/users/Drobot432/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T09:21:00Z","updated_at":"2016-08-03T09:21:00Z","body":"Oh, well the way I dealt with it so far is to bring all the mca villagers into anot her village that I built, so the regular villagers stay in the old village and the MCA villagers are far enough away from the regular ones so that when they take damage you dont crash... Oh, and another thing, I am away from my computer right now and won't be able to access it so I read the radix core code and I BELIEVE that if the villagers take damage from other mobs, you will get a ticking entity crash also, some one please try to reproduce this all you have to do is spawn regular villager, spawn MCA villager, and spawn zombie and let it attack them while you stand next to them"}}
{"actor":{"display_login":"Drobot432"}}