SanAndreaP Posted August 17, 2012 Posted August 17, 2012 I have a bug with the actual Minecraft Forge 4.0.0 build 200: I've rewrote my mod to the new forge build. However, spawning entities, rendering, interacting and such does work properly now for me. The only thing I have problems with is, that when I kill one of my entities, the game crashes sometimes (not everytime when I kill these) with this error: 2012-08-17 12:19:34 [iNFO] [sTDERR] java.util.ConcurrentModificationException 2012-08-17 12:19:34 [iNFO] [sTDERR] at java.util.ArrayList$Itr.checkForComodification(Unknown Source) 2012-08-17 12:19:34 [iNFO] [sTDERR] at java.util.ArrayList$Itr.next(Unknown Source) 2012-08-17 12:19:34 [iNFO] [sTDERR] at net.minecraft.src.World.getCollidingBoundingBoxes(World.java:1466) 2012-08-17 12:19:34 [iNFO] [sTDERR] at net.minecraft.src.Entity.moveEntity(Entity.java:657) 2012-08-17 12:19:34 [iNFO] [sTDERR] at net.minecraft.src.EntityFX.onUpdate(EntityFX.java:114) 2012-08-17 12:19:34 [iNFO] [sTDERR] at net.minecraft.src.EffectRenderer.updateEffects(EffectRenderer.java:64) 2012-08-17 12:19:34 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1788) 2012-08-17 12:19:34 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:831) 2012-08-17 12:19:34 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:761) 2012-08-17 12:19:34 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source) Here's the FML client log file: 2012-08-17 12:18:11 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.0.71.289 for Minecraft client:1.3.2, server:1.3.2 loading 2012-08-17 12:18:11 [FINEST] [ForgeModLoader] All core mods are successfully located 2012-08-17 12:18:11 [FINEST] [ForgeModLoader] Discovering coremods 2012-08-17 12:18:11 [FINEST] [ForgeModLoader] Found library file argo-2.25.jar present and correct in lib dir 2012-08-17 12:18:11 [FINEST] [ForgeModLoader] Found library file guava-12.0.1.jar present and correct in lib dir 2012-08-17 12:18:11 [FINEST] [ForgeModLoader] Found library file asm-all-4.0.jar present and correct in lib dir 2012-08-17 12:18:11 [FINEST] [ForgeModLoader] Running coremod plugins 2012-08-17 12:18:11 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin 2012-08-17 12:18:11 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully 2012-08-17 12:18:11 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin 2012-08-17 12:18:11 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully 2012-08-17 12:18:11 [FINEST] [ForgeModLoader] Validating minecraft 2012-08-17 12:18:11 [FINEST] [ForgeModLoader] Minecraft validated, launching... 2012-08-17 12:18:12 [iNFO] [sTDOUT] 27 achievements 2012-08-17 12:18:12 [iNFO] [sTDOUT] 195 recipes 2012-08-17 12:18:12 [iNFO] [sTDOUT] Setting user: Player739, - 2012-08-17 12:18:12 [iNFO] [sTDERR] Client asked for parameter: server 2012-08-17 12:18:12 [iNFO] [sTDOUT] LWJGL Version: 2.4.2 2012-08-17 12:18:13 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization 2012-08-17 12:18:13 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer] 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Found a minecraft related directory at C:\Users\SanAndreas\Desktop\mcp_72\eclipse\Minecraft\bin, examining for mod candidates 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Skipping known library file C:\Users\SanAndreas\Desktop\mcp_72\jars\bin\jinput.jar 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Skipping known library file C:\Users\SanAndreas\Desktop\mcp_72\jars\bin\lwjgl_util.jar 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Skipping known library file C:\Users\SanAndreas\Desktop\mcp_72\jars\bin\lwjgl.jar 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\SanAndreas\Desktop\mcp_72\jars\bin\minecraft.jar, examining for mod candidates 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Skipping known library file C:\Users\SanAndreas\Desktop\mcp_72\lib\argo-2.25.jar 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Skipping known library file C:\Users\SanAndreas\Desktop\mcp_72\lib\asm-all-4.0.jar 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Skipping known library file C:\Users\SanAndreas\Desktop\mcp_72\lib\guava-12.0.1.jar 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Skipping known library file C:\Users\SanAndreas\Desktop\mcp_72\jars\lib\argo-2.25.jar 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Skipping known library file C:\Users\SanAndreas\Desktop\mcp_72\jars\lib\guava-12.0.1.jar 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Skipping known library file C:\Users\SanAndreas\Desktop\mcp_72\jars\lib\asm-all-4.0.jar 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully 2012-08-17 12:18:13 [iNFO] [ForgeModLoader] Searching C:\Users\SanAndreas\Desktop\mcp_72\jars\mods for mods 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Examining directory bin for potential mods 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package claymans 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package claymans.bunny 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package claymans.companion 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package claymans.gecko 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package claymans.horse 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package claymans.icons 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package claymans.nexus 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package claymans.soldiers 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package claymans.soldiers rare 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package claymans.turtle 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.modloader 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.registry 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm.transformers 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery.asm 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.event 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.functions 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.modloader 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.network 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.registry 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.toposort 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.versioning 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.relauncher 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.server 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package ibxm 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package net 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package net.minecraft 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server 2012-08-17 12:18:13 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.src 2012-08-17 12:18:13 [FINE] [ForgeModLoader] Identified a FMLMod type mod net.minecraft.src.mod_ClayMan 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.classloading 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event.sound 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.common 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.living 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.minecart 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.player 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.world 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.oredict 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.transformers 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.asn1 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.asn1.bc 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.asn1.pkcs 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.engines 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.io 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.modes 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.params 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce.provider 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce.provider.config 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce.provider.util 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jce 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jce.provider 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.util 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package paulscode 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound 2012-08-17 12:18:14 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound.codecs 2012-08-17 12:18:14 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods 2012-08-17 12:18:14 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load 2012-08-17 12:18:14 [FINE] [ForgeModLoader] Received a system property request '' 2012-08-17 12:18:14 [FINE] [ForgeModLoader] System property request managing the state of 0 mods 2012-08-17 12:18:14 [FINE] [ForgeModLoader] After merging, found state information for 0 mods 2012-08-17 12:18:14 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied 2012-08-17 12:18:14 [FINE] [ForgeModLoader] All mod requirements are satisfied 2012-08-17 12:18:14 [FINE] [ForgeModLoader] Sorting mods into an ordered list 2012-08-17 12:18:14 [FINE] [ForgeModLoader] Mod sorting completed successfully 2012-08-17 12:18:14 [FINE] [ForgeModLoader] Mod sorting data: 2012-08-17 12:18:14 [FINE] [ForgeModLoader] ClaySoldiersMod(Clay Soldiers Mod): bin () 2012-08-17 12:18:14 [FINE] [ForgeModLoader] Activating mod FML 2012-08-17 12:18:14 [FINE] [ForgeModLoader] Activating mod Forge 2012-08-17 12:18:14 [FINE] [ForgeModLoader] Enabling mod ClaySoldiersMod 2012-08-17 12:18:14 [FINE] [ForgeModLoader] Activating mod ClaySoldiersMod 2012-08-17 12:18:14 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@56e9ae3 to mod FML 2012-08-17 12:18:14 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@56e9ae3 delivered to mod FML 2012-08-17 12:18:14 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@56e9ae3 to mod Forge 2012-08-17 12:18:14 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@56e9ae3 delivered to mod Forge 2012-08-17 12:18:14 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@56e9ae3 to mod ClaySoldiersMod 2012-08-17 12:18:14 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into ClaySoldiersMod 2012-08-17 12:18:14 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@56e9ae3 delivered to mod ClaySoldiersMod 2012-08-17 12:18:14 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLPreInitializationEvent@631e1d43 to mod FML 2012-08-17 12:18:14 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLPreInitializationEvent@631e1d43 delivered to mod FML 2012-08-17 12:18:14 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLPreInitializationEvent@631e1d43 to mod Forge 2012-08-17 12:18:14 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLPreInitializationEvent@631e1d43 delivered to mod Forge 2012-08-17 12:18:14 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLPreInitializationEvent@631e1d43 to mod ClaySoldiersMod 2012-08-17 12:18:14 [iNFO] [sTDOUT] config.txt successfully readed. 2012-08-17 12:18:14 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLPreInitializationEvent@631e1d43 delivered to mod ClaySoldiersMod 2012-08-17 12:18:14 [iNFO] [sTDOUT] Starting up SoundSystem... 2012-08-17 12:18:14 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2012-08-17 12:18:14 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2012-08-17 12:18:15 [iNFO] [sTDOUT] OpenAL initialized. 2012-08-17 12:18:15 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLInitializationEvent@887d06c to mod FML 2012-08-17 12:18:15 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLInitializationEvent@887d06c delivered to mod FML 2012-08-17 12:18:15 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLInitializationEvent@887d06c to mod Forge 2012-08-17 12:18:15 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLInitializationEvent@887d06c delivered to mod Forge 2012-08-17 12:18:15 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLInitializationEvent@887d06c to mod ClaySoldiersMod 2012-08-17 12:18:15 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLInitializationEvent@887d06c delivered to mod ClaySoldiersMod 2012-08-17 12:18:15 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLPostInitializationEvent@23c48b6d to mod FML 2012-08-17 12:18:15 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLPostInitializationEvent@23c48b6d delivered to mod FML 2012-08-17 12:18:15 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLPostInitializationEvent@23c48b6d to mod Forge 2012-08-17 12:18:15 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLPostInitializationEvent@23c48b6d delivered to mod Forge 2012-08-17 12:18:15 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLPostInitializationEvent@23c48b6d to mod ClaySoldiersMod 2012-08-17 12:18:15 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLPostInitializationEvent@23c48b6d delivered to mod ClaySoldiersMod 2012-08-17 12:18:15 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLLoadCompleteEvent@1570621c to mod FML 2012-08-17 12:18:15 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLLoadCompleteEvent@1570621c delivered to mod FML 2012-08-17 12:18:15 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLLoadCompleteEvent@1570621c to mod Forge 2012-08-17 12:18:15 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLLoadCompleteEvent@1570621c delivered to mod Forge 2012-08-17 12:18:15 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLLoadCompleteEvent@1570621c to mod ClaySoldiersMod 2012-08-17 12:18:15 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLLoadCompleteEvent@1570621c delivered to mod ClaySoldiersMod 2012-08-17 12:18:15 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 3 mods 2012-08-17 12:18:21 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLServerStartingEvent@6454826 to mod FML 2012-08-17 12:18:21 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLServerStartingEvent@6454826 delivered to mod FML 2012-08-17 12:18:21 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLServerStartingEvent@6454826 to mod Forge 2012-08-17 12:18:21 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLServerStartingEvent@6454826 delivered to mod Forge 2012-08-17 12:18:21 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLServerStartingEvent@6454826 to mod ClaySoldiersMod 2012-08-17 12:18:21 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLServerStartingEvent@6454826 delivered to mod ClaySoldiersMod 2012-08-17 12:18:21 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLServerStartedEvent@2e83ba01 to mod FML 2012-08-17 12:18:21 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLServerStartedEvent@2e83ba01 delivered to mod FML 2012-08-17 12:18:21 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLServerStartedEvent@2e83ba01 to mod Forge 2012-08-17 12:18:21 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLServerStartedEvent@2e83ba01 delivered to mod Forge 2012-08-17 12:18:21 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLServerStartedEvent@2e83ba01 to mod ClaySoldiersMod 2012-08-17 12:18:21 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLServerStartedEvent@2e83ba01 delivered to mod ClaySoldiersMod 2012-08-17 12:18:23 [iNFO] [sTDERR] java.util.ConcurrentModificationException 2012-08-17 12:18:23 [iNFO] [sTDERR] at java.util.ArrayList$Itr.checkForComodification(Unknown Source) 2012-08-17 12:18:23 [iNFO] [sTDERR] at java.util.ArrayList$Itr.next(Unknown Source) 2012-08-17 12:18:23 [iNFO] [sTDERR] at net.minecraft.src.World.getCollidingBoundingBoxes(World.java:1466) 2012-08-17 12:18:23 [iNFO] [sTDERR] at net.minecraft.src.Entity.moveEntity(Entity.java:657) 2012-08-17 12:18:23 [iNFO] [sTDERR] at net.minecraft.src.EntityFX.onUpdate(EntityFX.java:114) 2012-08-17 12:18:23 [iNFO] [sTDERR] at net.minecraft.src.EffectRenderer.updateEffects(EffectRenderer.java:64) 2012-08-17 12:18:23 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1788) 2012-08-17 12:18:23 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:831) 2012-08-17 12:18:23 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:761) 2012-08-17 12:18:23 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source) 2012-08-17 12:18:23 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLServerStoppingEvent@2a395ead to mod FML 2012-08-17 12:18:23 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLServerStoppingEvent@2a395ead delivered to mod FML 2012-08-17 12:18:23 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLServerStoppingEvent@2a395ead to mod Forge 2012-08-17 12:18:23 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLServerStoppingEvent@2a395ead delivered to mod Forge 2012-08-17 12:18:23 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLServerStoppingEvent@2a395ead to mod ClaySoldiersMod 2012-08-17 12:18:23 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLServerStoppingEvent@2a395ead delivered to mod ClaySoldiersMod If I kill the same entities on a server, it doesn't happen, neither on the client nor on the server. On client-only, it's the same error and I dunno what's causing it. Here's my mod_ file, if anybody needs it: https://gist.github.com/4e3d7b2b13bb339601b7 BTW: My entity type implements IAnimal and uses currently the attackEntityFrom(...) method from the superclass (EntityCreature). Instead of this, there's no method in my entity class, which will be called on hit / death. Some more infos: Minecraft ver. 1.3.2 (final) Minecraft Server ver. 1.3.2 (final) MCP v.7.2 Quote Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
pitman-87 Posted August 17, 2012 Posted August 17, 2012 I had this issue with modloader and it was caused when I got an entitylist and iterated over it. The reason is, that you somewhere in your server-tick called a entitylist (or something) from the clientworld (or vice versa). Serverticks and clientticks are running in different threads (FIY). Quote My mods: TF2 Teleporter + Sentry + Dispenser Familiars API SpecialArmor & PrinterBlock
LexManos Posted August 17, 2012 Posted August 17, 2012 I need to see your entity class, and anything that calls world.getEntitiesWithinAABBExcludingEntity if you do. Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
SanAndreaP Posted August 17, 2012 Author Posted August 17, 2012 I need to see your entity class, and anything that calls world.getEntitiesWithinAABBExcludingEntity if you do. Here ya go: https://gist.github.com/f876fb64b62074d7791c it is HUGE and it's messy (I've cleaned that up since I overtook the mod from KodaichiZero a bit). There are 3 lines where I called worldObj.getEntitiesWithinAABBExcludingEntity at line 643, 1210 and 1627. Even when I outcomment the code which uses this method and it crashes anyway. Quote Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
pitman-87 Posted August 17, 2012 Posted August 17, 2012 I need to see your entity class, and anything that calls world.getEntitiesWithinAABBExcludingEntity if you do. Here ya go: https://gist.github.com/f876fb64b62074d7791c it is HUGE and it's messy (I've cleaned that up since I overtook the mod from KodaichiZero a bit). There are 3 lines where I called worldObj.getEntitiesWithinAABBExcludingEntity at line 643, 1210 and 1627. Even when I outcomment the code which uses this method and it crashes anyway. Remember, everything is called twice (server and client) check if it's called in client world and don't execute the code in this method: on top of the code: if(world.isRemote){ return; } Quote My mods: TF2 Teleporter + Sentry + Dispenser Familiars API SpecialArmor & PrinterBlock
SanAndreaP Posted August 17, 2012 Author Posted August 17, 2012 I need to see your entity class, and anything that calls world.getEntitiesWithinAABBExcludingEntity if you do. Here ya go: https://gist.github.com/f876fb64b62074d7791c it is HUGE and it's messy (I've cleaned that up since I overtook the mod from KodaichiZero a bit). There are 3 lines where I called worldObj.getEntitiesWithinAABBExcludingEntity at line 643, 1210 and 1627. Even when I outcomment the code which uses this method and it crashes anyway. Remember, everything is called twice (server and client) check if it's called in client world and don't execute the code in this method: on top of the code: if(world.isRemote){ return; } Well, it has nothing to do with the list stuff, nor with code which are called twice. I checked my code again and found the crash maker. It's this: if(FMLCommonHandler.instance().getSide().equals(Side.CLIENT)) FMLClientHandler.instance().getClient().effectRenderer.addEffect(new EntityDiggingFX(worldObj, a, b, c, 0.0D, 0.0D, 0.0D, Block.cloth, 0, teamCloth(getClayTeam()))); on line 2669 in the method attackEntityFrom(); Is there a similar way to spawn custom particles? Quote Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
SanAndreaP Posted August 18, 2012 Author Posted August 18, 2012 Sorry for DP, but I played around and did some code-fixing in my mod and I can clearly confirm it is the method FMLClientHandler.instance().getClient().effectRenderer.addEffect( [new entityFX instance] ); I tried also following: Minecraft.getMinecraft().effectRenderer.addEffect( [new entityFX instance] ); With or without checking if it's client-sided or not. I get often (not everytime) the error in the OP. If it doesn't crash I can see the particles properly. If I use this instead: this.worldObj.spawnParticle("reddust", a, b, c, 0.0D, 0.0D, 0.0D); it doesn't crash but it doesn't show any particles either. Also I tried this whole thing on a dedicated server. It doesn't crash in any case with any method, but it doesn't show me particles either. So did I do something wrong or is this a bug? Quote Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
Viper283 Posted August 18, 2012 Posted August 18, 2012 just a heads up, you'll need to change the package that your mod file is in, as of build 204 FML with crash if there are any files in the net.minecraft.src or a sub-package of it Quote
SanAndreaP Posted August 19, 2012 Author Posted August 19, 2012 just a heads up, you'll need to change the package that your mod file is in, as of build 204 FML with crash if there are any files in the net.minecraft.src or a sub-package of it I did that already (FML spammed me because of that). Package is now SanAndreasP.mods.ClaySoldierMod, but that didn't solve my problem. I still get the same error. Quote Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
LexManos Posted August 19, 2012 Posted August 19, 2012 at net.minecraft.src.World.getCollidingBoundingBoxes(World.java:1466) You'll see a collection on this line, that is being itterated over. Somewhere inside of that loop, you are modifying the thing that's being itterated over. You're gunna have to figure out what your in code is called, that edit that collection. Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
SanAndreaP Posted August 19, 2012 Author Posted August 19, 2012 at net.minecraft.src.World.getCollidingBoundingBoxes(World.java:1466) You'll see a collection on this line, that is being itterated over. Somewhere inside of that loop, you are modifying the thing that's being itterated over. You're gunna have to figure out what your in code is called, that edit that collection. If it would be so easy I've tried everything now... - outcomment all code with "boundingBox" and "axisalignedbb" doesn't work - outcomment all overridden methods (such as onUpdate() aso.) except attackEntityFrom(...), which now spawns only the particles and returns super.attackEntityFrom(...) (the rest inside it is outcommented) - create a completely new entity, which spawns continously particles and isn't related to anything in my mod (except the spawn item) It crashes with the same error. - using the worldObj.spawnParticle(...) in the new entity, which doesn't crash, but doesn't spawn anything either. Has this something to do with the worldObj field? Because both particle spawn things uses it. This is the spawning item code, if it's necessary: https://gist.github.com/9088b8e72638205dd129 Quote Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
SanAndreaP Posted August 20, 2012 Author Posted August 20, 2012 Okay, I think I solved the problem now. As I thought it was the worldObj field from the entity I've used. I'm using now Minecraft.getMinecraft().theWorld instead and no crash so far. Here's the code which I'm using to spawn custom digging particles now: if(FMLCommonHandler.instance().getSide().isClient()) Minecraft.getMinecraft().effectRenderer.addEffect( new EntityDiggingFX(Minecraft.getMinecraft().theWorld /* use this instead of this.worldObj */, X, Y, Z, 0.0D, 0.0D, 0.0D, Block.cloth, 0, teamCloth(getDataWatcherShort("clayTeam")))); Quote Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.