yorkeMC Posted June 1, 2015 Posted June 1, 2015 Hey, I am modding and I have made a set of boots that have a particle effect when you walk... Whenever I come in contact (or close to) any other entity (in this case it was a sheep) while wearing the sheep, I get this same error, also I get it randomly when I move too much. Its really weird. Crash Report ---- Minecraft Crash Report ---- // Why is it breaking Time: 01/06/15 4:46 PM Description: Ticking entity java.lang.NullPointerException: Ticking entity at net.minecraft.entity.Entity.moveEntity(Entity.java:709) at net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(EntityLivingBase.java:1678) at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2021) at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:431) at net.minecraft.entity.EntityAgeable.onLivingUpdate(EntityAgeable.java:138) at net.minecraft.entity.passive.EntityAnimal.onLivingUpdate(EntityAnimal.java:56) at net.minecraft.entity.passive.EntitySheep.onLivingUpdate(EntitySheep.java:98) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814) at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:250) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) at net.minecraft.world.World.updateEntity(World.java:2258) at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.entity.Entity.moveEntity(Entity.java:709) at net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(EntityLivingBase.java:1678) at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2021) at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:431) at net.minecraft.entity.EntityAgeable.onLivingUpdate(EntityAgeable.java:138) at net.minecraft.entity.passive.EntityAnimal.onLivingUpdate(EntityAnimal.java:56) at net.minecraft.entity.passive.EntitySheep.onLivingUpdate(EntitySheep.java:98) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814) at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:250) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) at net.minecraft.world.World.updateEntity(World.java:2258) -- Entity being ticked -- Details: Entity Type: Sheep (net.minecraft.entity.passive.EntitySheep) Entity ID: 141 Entity Name: Sheep Entity's Exact location: -118.88, 4.00, -486.04 Entity's Block location: World: (-119,4,-487), Chunk: (at 9,0,9 in -8,-31; contains blocks -128,0,-496 to -113,255,-481), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Entity's Momentum: 0.00, -0.08, 0.00 Stacktrace: at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) -- Affected level -- Details: Level name: test_1 All players: 1 total; [EntityPlayerMP['Player167'/249, l='test_1', x=-91.60, y=7.08, z=-453.16]] Chunk stats: ServerChunkCache: 550 Drop: 0 Level seed: 8964619752543325047 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: Level spawn location: World: (-177,4,-490), Chunk: (at 15,0,6 in -12,-31; contains blocks -192,0,-496 to -177,255,-481), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Level time: 8737 game time, 8737 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 162343 (now: false), thunder time: 143003 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_45, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 791918016 bytes (755 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1240 Minecraft Forge 10.13.2.1240 6 mods loaded, 6 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.85.1240} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.2.1240} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Baubles{1.0.1.10} [baubles] (Baubles-deobf-1.7.10-1.0.1.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Thaumcraft{4.2.3.5} [Thaumcraft] (Thaumcraft-deobf-1.7.10-4.2.3.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available TaintedMagic{1.1.2.6} [Tainted Magic] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 1 / 8; [EntityPlayerMP['Player167'/249, l='test_1', x=-91.60, y=7.08, z=-453.16]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' ArmorHandler class package com.yorkeJohn.taintedmagic.lib; import java.util.HashMap; import thaumcraft.common.Thaumcraft; import com.yorkeJohn.taintedmagic.registry.ItemRegistry; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import net.minecraft.block.material.Material; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.PlayerCapabilities; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.Vec3; import net.minecraft.world.World; import net.minecraftforge.event.entity.EntityJoinWorldEvent; import net.minecraftforge.event.entity.living.LivingEvent; public class ArmorHandler { public static final PlayerCapabilities genericPlayerCapabilities = new PlayerCapabilities(); @SubscribeEvent public void livingTick(LivingEvent.LivingUpdateEvent event) { if ((event.entity instanceof EntityPlayer)) { EntityPlayer player = (EntityPlayer)event.entity; checkAir(player); } } @SubscribeEvent public void joinWorld(EntityJoinWorldEvent event) { if ((event.entity instanceof EntityPlayer)) { EntityPlayer player = (EntityPlayer)event.entity; } } HashMap<Integer, Float> prevStep = new HashMap(); @SubscribeEvent public void playerJumps(LivingEvent.LivingJumpEvent event) { if (((event.entity instanceof EntityPlayer)) && (((EntityPlayer)event.entity).inventory.armorItemInSlot(0) != null) && (((EntityPlayer)event.entity).inventory.armorItemInSlot(0).getItem() == ItemRegistry.CrimsonVoidBoots)) { if (((EntityPlayer)event.entity).isSneaking()) { Vec3 vector = event.entityLiving.getLook(0.5F); double total = Math.abs(vector.zCoord + vector.xCoord); EntityPlayer player = (EntityPlayer)event.entity; double jump = 0; if(jump >= 1) { jump = (jump + 2D)/4D; } if (vector.yCoord < total) vector.yCoord = total; event.entityLiving.motionY += ((jump+1)*vector.yCoord)/1.5F; event.entityLiving.motionZ += (jump+1)*vector.zCoord*4; event.entityLiving.motionX += (jump+1)*vector.xCoord*4; } else { event.entityLiving.motionY += 0.2750000059604645D; } } else if (((event.entity instanceof EntityPlayer)) && (((EntityPlayer)event.entity).inventory.armorItemInSlot(0) != null) && (((EntityPlayer)event.entity).inventory.armorItemInSlot(0).getItem() == ItemRegistry.CrimsonVoidBoots)) { event.entityLiving.motionY += 0.2750000059604645D; } } public void checkAir(EntityPlayer player) { if ((player.inventory.armorItemInSlot(0) != null) && (player.inventory.armorItemInSlot(0).getItem()== ItemRegistry.CrimsonVoidBoots)) { Vec3 vector = player.getLook(1.0F); ItemStack item = player.inventory.armorItemInSlot(0); if (!item.hasTagCompound()) { NBTTagCompound par1NBTTagCompound = new NBTTagCompound(); item.setTagCompound(par1NBTTagCompound ); item.stackTagCompound.setInteger("runTicks",0); } int ticks = item.stackTagCompound.getInteger("runTicks"); double motion = Math.abs(player.motionX) + Math.abs(player.motionZ) + Math.abs(player.motionY); if (motion > 0.1F) { if (ticks < 100) ticks++; } else { ticks = 0; } EntityPlayer p = player; if (motion > 0.1F) { Thaumcraft.proxy.wispFXEG(p.worldObj, (double)(player.posX + Math.random()-0.5F), (double)(player.boundingBox.minY + 0.25F + ((Math.random()-0.5)*0.25F)), (double)(player.posZ + Math.random()-0.5F), player); Thaumcraft.proxy.wispFXEG(p.worldObj, (double)(player.posX + Math.random()-0.5F), (double)(player.boundingBox.minY + 0.25F + ((Math.random()-0.5)*0.25F)), (double)(player.posZ + Math.random()-0.5F), player); } item.stackTagCompound.setInteger("runTicks", ticks); } } } EDIT: it also seems to crash with this report if you jump then move. ---- Minecraft Crash Report ---- // I'm sorry, Dave. Time: 01/06/15 4:59 PM Description: Ticking Particle java.lang.NullPointerException: Ticking Particle at net.minecraft.entity.Entity.moveEntity(Entity.java:692) at thaumcraft.client.fx.particles.FXWispEG.onUpdate(FXWispEG.java:106) at thaumcraft.client.fx.ParticleEngine.updateParticles(ParticleEngine.java:166) at cpw.mods.fml.common.eventhandler.ASMEventHandler_56_ParticleEngine_updateParticles_ClientTickEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) at cpw.mods.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:325) at net.minecraft.client.Minecraft.runTick(Minecraft.java:1667) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1028) at net.minecraft.client.Minecraft.run(Minecraft.java:951) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.entity.Entity.moveEntity(Entity.java:692) at thaumcraft.client.fx.particles.FXWispEG.onUpdate(FXWispEG.java:106) -- Particle being ticked -- Details: Particle: FXWispEG, Pos (2250.7783355926467,4.784460004271616,213.2850038236115), RGBA (0.039737444,0.0031688034,0.045298275,1.0), Age 18 Particle Type: ENTITY_PARTICLE_TEXTURE Stacktrace: at thaumcraft.client.fx.ParticleEngine.updateParticles(ParticleEngine.java:166) at cpw.mods.fml.common.eventhandler.ASMEventHandler_56_ParticleEngine_updateParticles_ClientTickEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) at cpw.mods.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:325) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['Player402'/230, l='MpServer', x=2251.10, y=6.41, z=219.70]] Chunk stats: MultiplayerChunkCache: 425, 425 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: World: (2264,4,183), Chunk: (at 8,0,7 in 141,11; contains blocks 2256,0,176 to 2271,255,191), Region: (4,0; contains chunks 128,0 to 159,31, blocks 2048,0,0 to 2559,255,511) Level time: 636 game time, 636 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 66 total; [EntitySheep['Sheep'/128, l='MpServer', x=2268.50, y=4.00, z=296.50], EntityHorse['Horse'/129, l='MpServer', x=2271.50, y=4.00, z=298.50], EntityHorse['Horse'/130, l='MpServer', x=2264.50, y=4.00, z=291.50], EntityCow['Cow'/137, l='MpServer', x=2282.83, y=4.00, z=139.20], EntityPig['Pig'/139, l='MpServer', x=2272.41, y=4.00, z=141.94], EntityPig['Pig'/140, l='MpServer', x=2275.34, y=4.00, z=144.91], EntityPig['Pig'/141, l='MpServer', x=2273.50, y=4.00, z=146.81], EntitySheep['Sheep'/144, l='MpServer', x=2276.50, y=4.00, z=293.50], EntitySheep['Sheep'/145, l='MpServer', x=2273.66, y=4.00, z=293.25], EntitySheep['Sheep'/146, l='MpServer', x=2273.28, y=4.00, z=291.94], EntitySheep['Sheep'/147, l='MpServer', x=2275.50, y=4.00, z=289.50], EntitySheep['Sheep'/148, l='MpServer', x=2274.84, y=4.00, z=294.25], EntitySheep['Sheep'/150, l='MpServer', x=2273.16, y=4.00, z=296.66], EntitySheep['Sheep'/165, l='MpServer', x=2287.13, y=4.00, z=142.16], EntitySheep['Sheep'/167, l='MpServer', x=2293.25, y=4.00, z=140.25], EntityPig['Pig'/168, l='MpServer', x=2300.22, y=4.00, z=140.13], EntityPig['Pig'/169, l='MpServer', x=2295.91, y=4.00, z=140.78], EntityPig['Pig'/171, l='MpServer', x=2297.41, y=4.00, z=140.97], EntityClientPlayerMP['Player402'/230, l='MpServer', x=2251.10, y=6.41, z=219.70], EntityChicken['Chicken'/46, l='MpServer', x=2173.50, y=4.00, z=209.50], EntityPig['Pig'/177, l='MpServer', x=2290.50, y=4.00, z=298.50], EntityPig['Pig'/50, l='MpServer', x=2172.50, y=4.00, z=266.50], EntitySheep['Sheep'/179, l='MpServer', x=2288.22, y=4.00, z=298.22], EntitySheep['Sheep'/180, l='MpServer', x=2296.16, y=4.00, z=295.09], EntityCow['Cow'/53, l='MpServer', x=2173.53, y=4.00, z=276.25], EntityCow['Cow'/54, l='MpServer', x=2174.63, y=4.00, z=277.44], EntityCow['Cow'/55, l='MpServer', x=2175.56, y=4.00, z=278.59], EntitySheep['Sheep'/190, l='MpServer', x=2324.19, y=4.00, z=288.16], EntitySheep['Sheep'/191, l='MpServer', x=2321.69, y=4.00, z=292.66], EntitySheep['Sheep'/192, l='MpServer', x=2328.66, y=4.00, z=295.09], EntitySheep['Sheep'/193, l='MpServer', x=2325.50, y=4.00, z=293.19], EntityPig['Pig'/194, l='MpServer', x=2324.59, y=4.00, z=291.84], EntityPig['Pig'/195, l='MpServer', x=2326.50, y=4.00, z=291.50], EntityPig['Pig'/197, l='MpServer', x=2331.50, y=4.00, z=293.50], EntityPig['Pig'/198, l='MpServer', x=2325.22, y=4.00, z=295.81], EntityPig['Pig'/200, l='MpServer', x=2330.59, y=4.00, z=298.22], EntityChicken['Chicken'/74, l='MpServer', x=2178.22, y=4.00, z=264.81], EntityChicken['Chicken'/75, l='MpServer', x=2180.97, y=4.00, z=266.63], EntityChicken['Chicken'/76, l='MpServer', x=2175.59, y=4.00, z=272.44], EntityChicken['Chicken'/77, l='MpServer', x=2182.34, y=4.00, z=266.38], EntityCow['Cow'/78, l='MpServer', x=2173.06, y=4.00, z=270.15], EntitySheep['Sheep'/91, l='MpServer', x=2206.53, y=4.00, z=174.03], EntityCow['Cow'/92, l='MpServer', x=2207.50, y=4.00, z=179.50], EntityCow['Cow'/93, l='MpServer', x=2203.25, y=4.00, z=184.44], EntityCow['Cow'/94, l='MpServer', x=2196.97, y=4.00, z=188.84], EntityCow['Cow'/95, l='MpServer', x=2206.50, y=4.00, z=185.50], EntityChicken['Chicken'/96, l='MpServer', x=2202.50, y=4.00, z=180.50], EntityChicken['Chicken'/97, l='MpServer', x=2204.44, y=4.00, z=188.38], EntityChicken['Chicken'/98, l='MpServer', x=2202.41, y=4.00, z=183.41], EntityChicken['Chicken'/99, l='MpServer', x=2206.50, y=4.00, z=180.50], EntitySheep['Sheep'/102, l='MpServer', x=2209.42, y=4.00, z=172.42], EntitySheep['Sheep'/103, l='MpServer', x=2211.16, y=4.00, z=175.50], EntitySheep['Sheep'/104, l='MpServer', x=2212.02, y=4.00, z=171.84], EntityPig['Pig'/105, l='MpServer', x=2236.50, y=4.00, z=140.50], EntityChicken['Chicken'/106, l='MpServer', x=2235.50, y=4.00, z=142.50], EntityChicken['Chicken'/107, l='MpServer', x=2233.50, y=4.00, z=143.50], EntityChicken['Chicken'/108, l='MpServer', x=2231.50, y=4.00, z=141.50], EntityChicken['Chicken'/109, l='MpServer', x=2229.50, y=4.00, z=141.50], EntityPig['Pig'/110, l='MpServer', x=2237.50, y=4.00, z=144.50], EntityPig['Pig'/111, l='MpServer', x=2238.50, y=4.00, z=149.78], EntityPig['Pig'/112, l='MpServer', x=2245.91, y=4.00, z=143.81], EntityCow['Cow'/114, l='MpServer', x=2242.50, y=4.00, z=142.78], EntityCow['Cow'/115, l='MpServer', x=2242.50, y=4.00, z=141.19], EntityCow['Cow'/116, l='MpServer', x=2242.50, y=4.00, z=139.50], EntityHorse['Horse'/124, l='MpServer', x=2256.13, y=4.00, z=140.75], EntityPig['Pig'/126, l='MpServer', x=2271.19, y=4.00, z=141.34]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2555) at net.minecraft.client.Minecraft.run(Minecraft.java:973) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_45, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 880755552 bytes (839 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1240 Minecraft Forge 10.13.2.1240 6 mods loaded, 6 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.85.1240} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.2.1240} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Baubles{1.0.1.10} [baubles] (Baubles-deobf-1.7.10-1.0.1.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Thaumcraft{4.2.3.5} [Thaumcraft] (Thaumcraft-deobf-1.7.10-4.2.3.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available TaintedMagic{1.1.2.6} [Tainted Magic] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: GeForce GTX 860M/PCIe/SSE2 GL version 4.5.0 NVIDIA 347.09, NVIDIA Corporation GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1) Quote while(awake) { coffee++; }
N247S Posted June 1, 2015 Posted June 1, 2015 On which side do you spawn the particles?(I can't find it in the ArmorHandlerClass) Cause if you spawn them on the ServerSide (a lot of them) your game would crash (or has huge lag). I don't know why people keep saying that particles should be spawned on the ServerSide.(following several tutorials) Since particles should always be spawned in from the ClientSide! Anyway, I hope this helps, N247S Quote Projects: Discontinued: - N2ConfigAPI - Meachanical Crafting Table Latest: - CollectionUtils Coöperations: - InGameConfigManager
jabelar Posted June 1, 2015 Posted June 1, 2015 I admit that that crash report is a little weird, but the second crash report definitely is indicating problems related to the effect. I think the problem is likely related to the fact that you're calling a method from the Thaumcraft.proxy which probably isn't set up as an actual proxy in your mod. What I think you want to do is: in YOUR proxy you need to have a method for creating the particles, and in the common proxy version of that method you just do nothing, but in the client proxy method you should call the Thaumcraft.proxy method. Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
N247S Posted June 1, 2015 Posted June 1, 2015 What do you expect otherwise? It says "Ticking Entity" , usually that ocurs when an entity failed to updated somehow. Otherwise, how would you explain why a (vanilla!) Sheep caused a crash earlier? If its realy a NPE, it should point always to your mod right? Anyway, try what jabelar has pointed out. Quote Projects: Discontinued: - N2ConfigAPI - Meachanical Crafting Table Latest: - CollectionUtils Coöperations: - InGameConfigManager
yorkeMC Posted June 1, 2015 Author Posted June 1, 2015 I tried what jabelar said, and I called the thaumcraft proxy method in my clientProxy, this is what happened. ---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem. Time: 01/06/15 6:32 PM Description: Ticking Particle java.lang.NullPointerException: Ticking Particle at net.minecraft.entity.Entity.moveEntity(Entity.java:692) at thaumcraft.client.fx.particles.FXWispEG.onUpdate(FXWispEG.java:106) at thaumcraft.client.fx.ParticleEngine.updateParticles(ParticleEngine.java:166) at cpw.mods.fml.common.eventhandler.ASMEventHandler_57_ParticleEngine_updateParticles_ClientTickEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) at cpw.mods.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:325) at net.minecraft.client.Minecraft.runTick(Minecraft.java:1667) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1028) at net.minecraft.client.Minecraft.run(Minecraft.java:951) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.entity.Entity.moveEntity(Entity.java:692) at thaumcraft.client.fx.particles.FXWispEG.onUpdate(FXWispEG.java:106) -- Particle being ticked -- Details: Particle: FXWispEG, Pos (2246.910923168346,4.485327940305652,212.27089688382466), RGBA (0.03879036,0.028967535,0.02519527,1.0), Age 43 Particle Type: ENTITY_PARTICLE_TEXTURE Stacktrace: at thaumcraft.client.fx.ParticleEngine.updateParticles(ParticleEngine.java:166) at cpw.mods.fml.common.eventhandler.ASMEventHandler_57_ParticleEngine_updateParticles_ClientTickEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) at cpw.mods.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:325) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['Player388'/234, l='MpServer', x=2248.85, y=7.27, z=211.52]] Chunk stats: MultiplayerChunkCache: 350, 350 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: World: (2264,4,183), Chunk: (at 8,0,7 in 141,11; contains blocks 2256,0,176 to 2271,255,191), Region: (4,0; contains chunks 128,0 to 159,31, blocks 2048,0,0 to 2559,255,511) Level time: 961 game time, 961 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 63 total; [EntityCow['Cow'/128, l='MpServer', x=2263.75, y=4.00, z=134.28], EntityPig['Pig'/130, l='MpServer', x=2269.56, y=4.00, z=141.97], EntityHorse['Horse'/134, l='MpServer', x=2264.73, y=4.00, z=291.79], EntityCow['Cow'/137, l='MpServer', x=2273.47, y=4.00, z=139.31], EntityCow['Cow'/138, l='MpServer', x=2286.79, y=4.00, z=136.97], EntityPig['Pig'/139, l='MpServer', x=2274.84, y=4.00, z=141.41], EntityPig['Pig'/140, l='MpServer', x=2279.22, y=4.00, z=153.91], EntityPig['Pig'/141, l='MpServer', x=2267.15, y=4.00, z=142.88], EntitySheep['Sheep'/145, l='MpServer', x=2269.99, y=4.00, z=290.69], EntitySheep['Sheep'/146, l='MpServer', x=2275.45, y=4.00, z=289.63], EntitySheep['Sheep'/147, l='MpServer', x=2272.69, y=4.00, z=289.66], EntityClientPlayerMP['Player388'/234, l='MpServer', x=2248.85, y=7.27, z=211.52], EntityChicken['Chicken'/39, l='MpServer', x=2168.10, y=4.00, z=201.16], EntityChicken['Chicken'/40, l='MpServer', x=2167.52, y=4.00, z=195.34], EntitySheep['Sheep'/169, l='MpServer', x=2303.75, y=4.00, z=134.47], EntitySheep['Sheep'/170, l='MpServer', x=2293.25, y=4.00, z=140.25], EntityPig['Pig'/171, l='MpServer', x=2300.22, y=4.00, z=140.13], EntityPig['Pig'/172, l='MpServer', x=2295.38, y=4.00, z=141.78], EntityChicken['Chicken'/45, l='MpServer', x=2173.50, y=4.00, z=209.50], EntityPig['Pig'/173, l='MpServer', x=2296.16, y=4.00, z=143.19], EntityCow['Cow'/174, l='MpServer', x=2294.31, y=4.00, z=139.03], EntityCow['Cow'/175, l='MpServer', x=2302.31, y=4.00, z=143.75], EntitySheep['Sheep'/176, l='MpServer', x=2290.25, y=3.00, z=142.91], EntityPig['Pig'/177, l='MpServer', x=2291.13, y=3.00, z=144.22], EntityPig['Pig'/49, l='MpServer', x=2171.06, y=4.00, z=267.06], EntityCow['Cow'/51, l='MpServer', x=2171.72, y=4.00, z=268.88], EntityChicken['Chicken'/52, l='MpServer', x=2172.66, y=4.00, z=269.69], EntitySheep['Sheep'/181, l='MpServer', x=2293.03, y=4.00, z=291.97], EntityCow['Cow'/54, l='MpServer', x=2173.53, y=4.00, z=276.25], EntityCow['Cow'/55, l='MpServer', x=2170.19, y=4.00, z=281.78], EntityCow['Cow'/56, l='MpServer', x=2175.66, y=4.00, z=278.69], EntityCow['Cow'/184, l='MpServer', x=2310.84, y=4.00, z=133.88], EntityCow['Cow'/185, l='MpServer', x=2302.79, y=4.00, z=130.84], EntityPig['Pig'/199, l='MpServer', x=2324.59, y=4.00, z=291.84], EntityPig['Pig'/200, l='MpServer', x=2326.51, y=4.00, z=291.45], EntityChicken['Chicken'/77, l='MpServer', x=2180.97, y=4.00, z=266.63], EntityChicken['Chicken'/78, l='MpServer', x=2182.34, y=4.00, z=266.38], EntityPig['Pig'/79, l='MpServer', x=2177.91, y=4.00, z=271.06], EntitySheep['Sheep'/89, l='MpServer', x=2199.19, y=4.00, z=174.38], EntityCow['Cow'/90, l='MpServer', x=2207.50, y=4.00, z=179.50], EntityCow['Cow'/91, l='MpServer', x=2203.25, y=4.00, z=184.44], EntityCow['Cow'/92, l='MpServer', x=2196.94, y=4.00, z=188.88], EntityCow['Cow'/93, l='MpServer', x=2207.34, y=4.00, z=183.25], EntityChicken['Chicken'/94, l='MpServer', x=2202.50, y=4.00, z=180.50], EntityChicken['Chicken'/95, l='MpServer', x=2201.27, y=4.00, z=185.49], EntityChicken['Chicken'/96, l='MpServer', x=2199.82, y=4.00, z=187.84], EntityChicken['Chicken'/97, l='MpServer', x=2206.50, y=4.00, z=180.50], EntitySheep['Sheep'/102, l='MpServer', x=2206.22, y=4.00, z=171.66], EntitySheep['Sheep'/103, l='MpServer', x=2210.28, y=4.00, z=175.31], EntitySheep['Sheep'/104, l='MpServer', x=2209.84, y=4.00, z=177.84], EntityChicken['Chicken'/105, l='MpServer', x=2242.93, y=4.00, z=149.18], EntityCow['Cow'/106, l='MpServer', x=2232.81, y=4.00, z=139.47], EntityCow['Cow'/109, l='MpServer', x=2231.96, y=4.00, z=133.60], EntityCow['Cow'/110, l='MpServer', x=2239.31, y=4.00, z=143.81], EntityChicken['Chicken'/111, l='MpServer', x=2235.59, y=4.00, z=147.53], EntityChicken['Chicken'/112, l='MpServer', x=2238.47, y=4.00, z=150.47], EntityItem['item.item.porkchopRaw'/114, l='MpServer', x=2237.88, y=4.13, z=152.03], EntityHorse['Horse'/115, l='MpServer', x=2255.00, y=3.00, z=136.16], EntityHorse['Horse'/116, l='MpServer', x=2254.81, y=4.00, z=141.97], EntityPig['Pig'/117, l='MpServer', x=2243.13, y=4.00, z=138.91], EntityPig['Pig'/118, l='MpServer', x=2240.13, y=4.00, z=145.06], EntityHorse['Horse'/126, l='MpServer', x=2263.00, y=4.00, z=136.06], EntityHorse['Horse'/127, l='MpServer', x=2256.03, y=4.00, z=139.09]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2555) at net.minecraft.client.Minecraft.run(Minecraft.java:973) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_45, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 722456536 bytes (688 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1240 Minecraft Forge 10.13.2.1240 6 mods loaded, 6 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.85.1240} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.2.1240} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Baubles{1.0.1.10} [baubles] (Baubles-deobf-1.7.10-1.0.1.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Thaumcraft{4.2.3.5} [Thaumcraft] (Thaumcraft-deobf-1.7.10-4.2.3.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available TaintedMagic{1.1.2.6} [Tainted Magic] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: GeForce GTX 860M/PCIe/SSE2 GL version 4.5.0 NVIDIA 347.09, NVIDIA Corporation GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1) And this ---- Minecraft Crash Report ---- // Why is it breaking Time: 01/06/15 6:36 PM Description: Ticking entity java.lang.NullPointerException: Ticking entity at net.minecraft.entity.Entity.moveEntity(Entity.java:723) at net.minecraft.entity.Entity.setSize(Entity.java:301) at net.minecraft.entity.EntityAgeable.setScale(EntityAgeable.java:194) at net.minecraft.entity.passive.EntityHorse.setScaleForAge(EntityHorse.java:227) at net.minecraft.entity.EntityAgeable.setGrowingAge(EntityAgeable.java:111) at net.minecraft.entity.EntityAgeable.onLivingUpdate(EntityAgeable.java:151) at net.minecraft.entity.passive.EntityAnimal.onLivingUpdate(EntityAnimal.java:56) at net.minecraft.entity.passive.EntityHorse.onLivingUpdate(EntityHorse.java:1035) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814) at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:250) at net.minecraft.entity.passive.EntityHorse.onUpdate(EntityHorse.java:1073) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) at net.minecraft.world.World.updateEntity(World.java:2258) at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.entity.Entity.moveEntity(Entity.java:723) at net.minecraft.entity.Entity.setSize(Entity.java:301) at net.minecraft.entity.EntityAgeable.setScale(EntityAgeable.java:194) at net.minecraft.entity.passive.EntityHorse.setScaleForAge(EntityHorse.java:227) at net.minecraft.entity.EntityAgeable.setGrowingAge(EntityAgeable.java:111) at net.minecraft.entity.EntityAgeable.onLivingUpdate(EntityAgeable.java:151) at net.minecraft.entity.passive.EntityAnimal.onLivingUpdate(EntityAnimal.java:56) at net.minecraft.entity.passive.EntityHorse.onLivingUpdate(EntityHorse.java:1035) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814) at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:250) at net.minecraft.entity.passive.EntityHorse.onUpdate(EntityHorse.java:1073) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) at net.minecraft.world.World.updateEntity(World.java:2258) -- Entity being ticked -- Details: Entity Type: EntityHorse (net.minecraft.entity.passive.EntityHorse) Entity ID: 42 Entity Name: Horse Entity's Exact location: -210.47, 3.92, -588.04 Entity's Block location: World: (-211,3,-589), Chunk: (at 13,0,3 in -14,-37; contains blocks -224,0,-592 to -209,255,-577), Region: (-1,-2; contains chunks -32,-64 to -1,-33, blocks -512,0,-1024 to -1,255,-513) Entity's Momentum: 0.00, -0.16, 0.00 Stacktrace: at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) -- Affected level -- Details: Level name: test_1 All players: 1 total; [EntityPlayerMP['Player55'/173, l='test_1', x=-95.33, y=7.77, z=-450.84]] Chunk stats: ServerChunkCache: 747 Drop: 0 Level seed: 8964619752543325047 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: Level spawn location: World: (-177,4,-490), Chunk: (at 15,0,6 in -12,-31; contains blocks -192,0,-496 to -177,255,-481), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Level time: 9231 game time, 9231 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 161849 (now: false), thunder time: 142509 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_45, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 799068960 bytes (762 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1240 Minecraft Forge 10.13.2.1240 6 mods loaded, 6 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.85.1240} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.2.1240} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Baubles{1.0.1.10} [baubles] (Baubles-deobf-1.7.10-1.0.1.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Thaumcraft{4.2.3.5} [Thaumcraft] (Thaumcraft-deobf-1.7.10-4.2.3.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available TaintedMagic{1.1.2.6} [Tainted Magic] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 1 / 8; [EntityPlayerMP['Player55'/173, l='test_1', x=-95.33, y=7.77, z=-450.84]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' Quote while(awake) { coffee++; }
yorkeMC Posted June 1, 2015 Author Posted June 1, 2015 Bump? I really need help with this. Quote while(awake) { coffee++; }
N247S Posted June 2, 2015 Posted June 2, 2015 Could you post your proxy Classes please?, also your main Class might be interesting to look at. Quote Projects: Discontinued: - N2ConfigAPI - Meachanical Crafting Table Latest: - CollectionUtils Coöperations: - InGameConfigManager
yorkeMC Posted June 2, 2015 Author Posted June 2, 2015 Here are the classes Main Class package com.yorkeJohn.taintedmagic; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemArmor; import net.minecraft.item.ItemArmor.ArmorMaterial; import net.minecraft.util.ResourceLocation; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.util.EnumHelper; import com.yorkeJohn.taintedmagic.blocks.OreShadow; import com.yorkeJohn.taintedmagic.blocks.WorldGenerator; import com.yorkeJohn.taintedmagic.client.fx.Particles; import com.yorkeJohn.taintedmagic.common.CommonProxy; import com.yorkeJohn.taintedmagic.lib.ArmorHandler; import com.yorkeJohn.taintedmagic.lib.CreativeTab; import com.yorkeJohn.taintedmagic.lib.Strings; import com.yorkeJohn.taintedmagic.recipes.Recipes; import com.yorkeJohn.taintedmagic.registry.BlockRegistry; import com.yorkeJohn.taintedmagic.registry.ItemRegistry; import com.yorkeJohn.taintedmagic.registry.ModEntityRegistry; import com.yorkeJohn.taintedmagic.research.ModResearch; import com.yorkeJohn.taintedmagic.research.TMResearchItem; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; //MODID @Mod(modid = Strings.MODID , name = Strings.NAME , version = Strings.VERSION, dependencies = Strings.DEPENDENCIES) public class TaintedMagic { @SidedProxy(clientSide= "com.yorkeJohn.taintedmagic.client.ClientProxy", serverSide= "com.yorkeJohn.taintedmagic.common.CommonProxy") public static CommonProxy proxy; private static ArmorHandler entityEventHandler; @Mod.Instance("TaintedMagic") public static TaintedMagic instance; public static ItemArmor.ArmorMaterial armorMatShadow = EnumHelper.addArmorMaterial("SHADOW", 25, new int[]{4, 8, 6, 2}, 25); public static CreativeTabs tabTM = new CreativeTab(CreativeTabs.getNextID(), "TaintedMagic"); //PRE INT @EventHandler public static void preinit(FMLPreInitializationEvent event) { GameRegistry.registerWorldGenerator(new WorldGenerator(), 0); ItemRegistry.main(); BlockRegistry.main(); ModEntityRegistry.main(); Recipes.initRecipes(); } //INT @EventHandler public static void init(FMLInitializationEvent event) { proxy.entityRenderers(); entityEventHandler = new ArmorHandler(); MinecraftForge.EVENT_BUS.register(entityEventHandler); } //POST INT @EventHandler public static void postInit(FMLPostInitializationEvent event) { ModResearch.initResearch(); ItemRegistry.init(); ResourceLocation particle = new ResourceLocation("taintedmagic:textures/misc/particle.png"); } } Here is the ClientProxy package com.yorkeJohn.taintedmagic.client; import net.minecraft.client.Minecraft; import net.minecraft.entity.Entity; import net.minecraft.world.World; import thaumcraft.common.Thaumcraft; import thaumcraft.common.entities.projectile.EntityGolemOrb; import com.yorkeJohn.taintedmagic.client.renderer.RenderEldritchOrbAttack; import com.yorkeJohn.taintedmagic.client.renderer.RenderTaintBubble; import com.yorkeJohn.taintedmagic.common.CommonProxy; import com.yorkeJohn.taintedmagic.entity.EntityEldritchOrbAttack; import com.yorkeJohn.taintedmagic.entity.EntityTaintBubble; import cpw.mods.fml.client.registry.RenderingRegistry; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class ClientProxy extends CommonProxy { public int addArmor(String armor) { return RenderingRegistry.addNewArmourRendererPrefix(armor); } public void entityRenderers() { RenderingRegistry.registerEntityRenderingHandler(EntityTaintBubble.class, new RenderTaintBubble()); RenderingRegistry.registerEntityRenderingHandler(EntityEldritchOrbAttack.class, new RenderEldritchOrbAttack()); } public void wispFXEG(World worldObj, double posX, double posY, double posZ, Entity target) { Thaumcraft.proxy.wispFXEG(worldObj, posX, posY, posZ, target); } } And here is the updated ArmorHandler file package com.yorkeJohn.taintedmagic.lib; import java.util.HashMap; import thaumcraft.common.Thaumcraft; import thaumcraft.common.config.ConfigItems; import com.yorkeJohn.taintedmagic.TaintedMagic; import com.yorkeJohn.taintedmagic.registry.ItemRegistry; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.material.Material; import net.minecraft.client.Minecraft; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.PlayerCapabilities; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.Vec3; import net.minecraft.world.World; import net.minecraftforge.event.entity.EntityJoinWorldEvent; import net.minecraftforge.event.entity.living.LivingEvent; public class ArmorHandler { @SubscribeEvent public void livingTick(LivingEvent.LivingUpdateEvent event) { if (event.entity instanceof EntityPlayer) { EntityPlayer player = (EntityPlayer)event.entity; checkAir(player); } } public void checkAir(EntityPlayer player) { if ((player.inventory.armorItemInSlot(0) != null) && (player.inventory.armorItemInSlot(0).getItem()== ConfigItems.itemBootsCultist)) { Vec3 vector = player.getLook(1.0F); ItemStack item = player.inventory.armorItemInSlot(0); if (!item.hasTagCompound()) { NBTTagCompound par1NBTTagCompound = new NBTTagCompound(); item.setTagCompound(par1NBTTagCompound ); item.stackTagCompound.setInteger("runTicks",0); } int ticks = item.stackTagCompound.getInteger("runTicks"); double motion = Math.abs(player.motionX) + Math.abs(player.motionZ); if (motion > 0.1F || !player.onGround) { if (ticks < 100) ticks++; } else { ticks = 0; } if (!player.isWet() && motion > 0.1F || !player.onGround) { TaintedMagic.proxy.wispFXEG(player.worldObj, (double)(player.posX + Math.random()-0.5), (double)(player.posY - (1.5 + (Math.random()-0.25)*0.25)), (double)(player.posZ + Math.random()-0.5), player); TaintedMagic.proxy.wispFXEG(player.worldObj, (double)(player.posX + Math.random()-0.5), (double)(player.posY - (1.5 + (Math.random()-0.25)*0.25)), (double)(player.posZ + Math.random()-0.5), player); } item.stackTagCompound.setInteger("runTicks", ticks); } } } Also here are a few crash reports that may help This one was a serverside crash (crash-2015-06-01_21.09.15-server.txt) ---- Minecraft Crash Report ---- // You're mean. Time: 01/06/15 9:09 PM Description: Ticking entity java.lang.IndexOutOfBoundsException: Index: 3, Size: 1 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at net.minecraft.entity.Entity.moveEntity(Entity.java:709) at net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(EntityLivingBase.java:1678) at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2021) at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:431) at net.minecraft.entity.EntityAgeable.onLivingUpdate(EntityAgeable.java:138) at net.minecraft.entity.passive.EntityAnimal.onLivingUpdate(EntityAnimal.java:56) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814) at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:250) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) at net.minecraft.world.World.updateEntity(World.java:2258) at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at net.minecraft.entity.Entity.moveEntity(Entity.java:709) at net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(EntityLivingBase.java:1678) at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2021) at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:431) at net.minecraft.entity.EntityAgeable.onLivingUpdate(EntityAgeable.java:138) at net.minecraft.entity.passive.EntityAnimal.onLivingUpdate(EntityAnimal.java:56) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814) at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:250) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) at net.minecraft.world.World.updateEntity(World.java:2258) -- Entity being ticked -- Details: Entity Type: Pig (net.minecraft.entity.passive.EntityPig) Entity ID: 7 Entity Name: Pig Entity's Exact location: -260.96, 4.00, -517.20 Entity's Block location: World: (-261,4,-518), Chunk: (at 11,0,10 in -17,-33; contains blocks -272,0,-528 to -257,255,-513), Region: (-1,-2; contains chunks -32,-64 to -1,-33, blocks -512,0,-1024 to -1,255,-513) Entity's Momentum: 0.00, -0.08, 0.00 Stacktrace: at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) -- Affected level -- Details: Level name: test_1 All players: 1 total; [EntityPlayerMP['Player724'/167, l='test_1', x=-134.36, y=4.02, z=-369.16]] Chunk stats: ServerChunkCache: 758 Drop: 0 Level seed: 8964619752543325047 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: Level spawn location: World: (-177,4,-490), Chunk: (at 15,0,6 in -12,-31; contains blocks -192,0,-496 to -177,255,-481), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Level time: 18599 game time, 3383 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 152481 (now: false), thunder time: 133141 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_45, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 786493008 bytes (750 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1240 Minecraft Forge 10.13.2.1240 6 mods loaded, 6 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.85.1240} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.2.1240} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Baubles{1.0.1.10} [baubles] (Baubles-deobf-1.7.10-1.0.1.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Thaumcraft{4.2.3.5} [Thaumcraft] (Thaumcraft-deobf-1.7.10-4.2.3.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available TaintedMagic{1.1.2.6} [Tainted Magic] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 1 / 8; [EntityPlayerMP['Player724'/167, l='test_1', x=-134.36, y=4.02, z=-369.16]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' Heres another clientside one (crash-2015-06-01_21.05.31-client.txt) ---- Minecraft Crash Report ---- // Shall we play a game? Time: 01/06/15 9:05 PM Description: Ticking Particle java.lang.NullPointerException: Ticking Particle at net.minecraft.entity.Entity.moveEntity(Entity.java:692) at thaumcraft.client.fx.particles.FXWispEG.onUpdate(FXWispEG.java:106) at thaumcraft.client.fx.ParticleEngine.updateParticles(ParticleEngine.java:166) at cpw.mods.fml.common.eventhandler.ASMEventHandler_57_ParticleEngine_updateParticles_ClientTickEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) at cpw.mods.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:325) at net.minecraft.client.Minecraft.runTick(Minecraft.java:1667) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1028) at net.minecraft.client.Minecraft.run(Minecraft.java:951) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.entity.Entity.moveEntity(Entity.java:692) at thaumcraft.client.fx.particles.FXWispEG.onUpdate(FXWispEG.java:106) -- Particle being ticked -- Details: Particle: FXWispEG, Pos (-134.11966975817398,4.457135427624594,-362.39566118652755), RGBA (0.008699894,0.021701127,0.03364077,1.0), Age 23 Particle Type: ENTITY_PARTICLE_TEXTURE Stacktrace: at thaumcraft.client.fx.ParticleEngine.updateParticles(ParticleEngine.java:166) at cpw.mods.fml.common.eventhandler.ASMEventHandler_57_ParticleEngine_updateParticles_ClientTickEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:138) at cpw.mods.fml.common.FMLCommonHandler.onPreClientTick(FMLCommonHandler.java:325) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['Player833'/172, l='MpServer', x=-134.38, y=6.10, z=-369.44]] Chunk stats: MultiplayerChunkCache: 420, 420 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: World: (-177,4,-490), Chunk: (at 15,0,6 in -12,-31; contains blocks -192,0,-496 to -177,255,-481), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Level time: 18558 game time, 3342 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 26 total; [EntityChicken['Chicken'/71, l='MpServer', x=-129.56, y=4.00, z=-419.59], EntityItem['item.item.feather'/72, l='MpServer', x=-141.09, y=4.13, z=-420.91], EntityItem['item.item.chickenRaw'/73, l='MpServer', x=-141.69, y=4.13, z=-421.66], EntityHorse['Horse'/74, l='MpServer', x=-137.91, y=4.00, z=-417.44], EntityChicken['Chicken'/75, l='MpServer', x=-138.28, y=4.00, z=-425.19], EntityChicken['Chicken'/76, l='MpServer', x=-131.44, y=4.00, z=-419.47], EntitySheep['Sheep'/77, l='MpServer', x=-143.25, y=4.00, z=-414.88], EntityHorse['Horse'/78, l='MpServer', x=-135.25, y=4.00, z=-413.28], EntityChicken['Chicken'/79, l='MpServer', x=-141.59, y=4.00, z=-398.53], EntityItem['item.tile.dirt.default'/81, l='MpServer', x=-129.88, y=3.13, z=-345.88], EntityItem['item.tile.dirt.default'/82, l='MpServer', x=-131.41, y=3.13, z=-341.88], EntityChicken['Chicken'/161, l='MpServer', x=-58.44, y=4.00, z=-446.63], EntitySheep['Sheep'/98, l='MpServer', x=-125.13, y=4.00, z=-425.53], EntitySheep['Sheep'/99, l='MpServer', x=-124.19, y=4.00, z=-418.75], EntityHorse['Horse'/100, l='MpServer', x=-117.81, y=4.00, z=-406.09], EntityHorse['Horse'/101, l='MpServer', x=-122.66, y=4.00, z=-415.31], EntityChicken['Chicken'/102, l='MpServer', x=-126.56, y=4.00, z=-389.66], EntityAspectOrb['Aspect Orb'/151400, l='MpServer', x=-230.88, y=4.06, z=-290.69], EntityClientPlayerMP['Player833'/172, l='MpServer', x=-134.38, y=6.10, z=-369.44], EntityChicken['Chicken'/114, l='MpServer', x=-104.56, y=4.00, z=-432.34], EntitySheep['Sheep'/115, l='MpServer', x=-110.56, y=4.00, z=-428.03], EntityChicken['Chicken'/51, l='MpServer', x=-174.44, y=4.00, z=-434.47], EntityChicken['Chicken'/116, l='MpServer', x=-98.59, y=4.00, z=-404.56], EntityChicken['Chicken'/52, l='MpServer', x=-171.38, y=4.00, z=-422.44], EntityChicken['Chicken'/53, l='MpServer', x=-172.38, y=4.00, z=-410.44], EntitySheep['Sheep'/59, l='MpServer', x=-155.41, y=4.00, z=-436.78]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2555) at net.minecraft.client.Minecraft.run(Minecraft.java:973) at net.minecraft.client.main.Main.main(Main.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) at GradleStart.main(GradleStart.java:45) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_45, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 767899720 bytes (732 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1240 Minecraft Forge 10.13.2.1240 6 mods loaded, 6 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.85.1240} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.2.1240} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Baubles{1.0.1.10} [baubles] (Baubles-deobf-1.7.10-1.0.1.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Thaumcraft{4.2.3.5} [Thaumcraft] (Thaumcraft-deobf-1.7.10-4.2.3.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available TaintedMagic{1.1.2.6} [Tainted Magic] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: GeForce GTX 860M/PCIe/SSE2 GL version 4.5.0 NVIDIA 347.09, NVIDIA Corporation GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1) and another serverside one (crash-2015-06-01_21.05.30-server.txt) ---- Minecraft Crash Report ---- // Ouch. That hurt Time: 01/06/15 9:05 PM Description: Ticking entity java.lang.NullPointerException: Ticking entity at net.minecraft.entity.Entity.moveEntity(Entity.java:692) at net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(EntityLivingBase.java:1678) at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2021) at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:431) at net.minecraft.entity.EntityAgeable.onLivingUpdate(EntityAgeable.java:138) at net.minecraft.entity.passive.EntityAnimal.onLivingUpdate(EntityAnimal.java:56) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814) at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:250) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) at net.minecraft.world.World.updateEntity(World.java:2258) at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.entity.Entity.moveEntity(Entity.java:692) at net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(EntityLivingBase.java:1678) at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2021) at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:431) at net.minecraft.entity.EntityAgeable.onLivingUpdate(EntityAgeable.java:138) at net.minecraft.entity.passive.EntityAnimal.onLivingUpdate(EntityAnimal.java:56) at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:1814) at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:250) at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:2298) at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:684) at net.minecraft.world.World.updateEntity(World.java:2258) -- Entity being ticked -- Details: Entity Type: Pig (net.minecraft.entity.passive.EntityPig) Entity ID: 124 Entity Name: Pig Entity's Exact location: -91.75, 4.00, -555.18 Entity's Block location: World: (-92,4,-556), Chunk: (at 4,0,4 in -6,-35; contains blocks -96,0,-560 to -81,255,-545), Region: (-1,-2; contains chunks -32,-64 to -1,-33, blocks -512,0,-1024 to -1,255,-513) Entity's Momentum: 0.00, -0.08, 0.00 Stacktrace: at net.minecraft.world.World.updateEntities(World.java:2108) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:515) -- Affected level -- Details: Level name: test_1 All players: 1 total; [EntityPlayerMP['Player833'/172, l='test_1', x=-134.36, y=4.79, z=-369.16]] Chunk stats: ServerChunkCache: 571 Drop: 0 Level seed: 8964619752543325047 Level generator: ID 01 - flat, ver 0. Features enabled: true Level generator options: Level spawn location: World: (-177,4,-490), Chunk: (at 15,0,6 in -12,-31; contains blocks -192,0,-496 to -177,255,-481), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Level time: 18559 game time, 3343 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 152521 (now: false), thunder time: 133181 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:703) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_45, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 767899720 bytes (732 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1240 Minecraft Forge 10.13.2.1240 6 mods loaded, 6 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.85.1240} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.2.1240} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Baubles{1.0.1.10} [baubles] (Baubles-deobf-1.7.10-1.0.1.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Thaumcraft{4.2.3.5} [Thaumcraft] (Thaumcraft-deobf-1.7.10-4.2.3.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available TaintedMagic{1.1.2.6} [Tainted Magic] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 1 / 8; [EntityPlayerMP['Player833'/172, l='test_1', x=-134.36, y=4.79, z=-369.16]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' Hope you can help Quote while(awake) { coffee++; }
N247S Posted June 2, 2015 Posted June 2, 2015 Hey, your proxy is kinda messy. For example there are a lot of methods, but I dont see where thy should be called from. I would recommend to organize the class since I dont think jebelar ment this with puting the methods in the ClientProxy Anyway, inside the eventHandler you are spawning in the particles? I dont see any SideCheck around the method (e.g. event.world.isRemote). Maybe add this and see if its working? N247S Quote Projects: Discontinued: - N2ConfigAPI - Meachanical Crafting Table Latest: - CollectionUtils Coöperations: - InGameConfigManager
yorkeMC Posted June 2, 2015 Author Posted June 2, 2015 Added a check for player.worldObj.isRemote and it works now. Thanks. Quote while(awake) { coffee++; }
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.