java.lang.ClassCastException: noppes.npcs.api.wrapper.EntityWrapper cannot be cast to noppes.npcs.api.entity.IEntityLivingBase
at noppes.npcs.api.event.NpcEvent$CollideEvent.<init>(NpcEvent.java:127)
at noppes.npcs.EventHooks.onNPCCollide(EventHooks.java:92)
at noppes.npcs.entity.EntityNPCInterface.onCollide(EntityNPCInterface.java:1101)
at noppes.npcs.entity.EntityNPCInterface.func_70636_d(EntityNPCInterface.java:361)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1628)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:229)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:262)
at noppes.npcs.entity.EntityCustomNpc.func_70071_h_(EntityCustomNpc.java:35)
at net.minecraft.world.World.func_72866_a(World.java:1880)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:732)
at net.minecraft.world.World.func_72870_g(World.java:1850)
at net.minecraft.world.World.func_72939_s(World.java:1679)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:571)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:704)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:598)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:164)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at noppes.npcs.api.event.NpcEvent$CollideEvent.<init>(NpcEvent.java:127)
at noppes.npcs.EventHooks.onNPCCollide(EventHooks.java:92)
at noppes.npcs.entity.EntityNPCInterface.onCollide(EntityNPCInterface.java:1101)
at noppes.npcs.entity.EntityNPCInterface.func_70636_d(EntityNPCInterface.java:361)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1628)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:229)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:262)
at noppes.npcs.entity.EntityCustomNpc.func_70071_h_(EntityCustomNpc.java:35)
at net.minecraft.world.World.func_72866_a(World.java:1880)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:732)
at net.minecraft.world.World.func_72870_g(World.java:1850)
-- Entity being ticked --
Details:
Entity Type: customnpcs.CustomNpc (noppes.npcs.entity.EntityCustomNpc)
Entity ID: 28
Entity Name: Loxiku
Entity's Exact location: 1458.50, 4.00, 936.50
Entity's Block location: 1458.00,4.00,936.00 - World: (1458,4,936), Chunk: (at 2,0,8 in 91,58; contains blocks 1456,0,928 to 1471,255,943), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Rider: ~~ERROR~~ NullPointerException: null
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1679)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:571)
-- Affected level --
Details:
Level name: My World IM.
All players: 0 total; []
Chunk stats: ServerChunkCache: 625 Drop: 0
Level seed: 7397617101617982181
Level generator: ID 01 - flat, ver 0. Features enabled: true
Level generator options:
Level spawn location: 1522.00,4.00,978.00 - World: (1522,4,978), Chunk: (at 2,0,2 in 95,61; contains blocks 1520,0,976 to 1535,255,991), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Level time: 71364 game time, 71364 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 91333 (now: false), thunder time: 86219 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:704)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:598)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:164)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 1.8
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 211022928 bytes (201 MB) / 433549312 bytes (413 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1543 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.8-11.14.3.1543.jar)
UCHIJAAAA Forge{11.14.3.1543} [Minecraft Forge] (forge-1.8-11.14.3.1543.jar)
UCHIJAAAA customnpcs{1.8.0_beta} [CustomNPCs] (CustomNPCs_1.8.0_beta.jar)
UCHIJAAAA worldedit{6.1} [WorldEdit] (worldedit-forge-mc1.8-6.1.jar)
Loaded coremods (and transformers):
GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
Hello I need some help! When I spawn NPCs. they would be normal but only would it randomly crash. This is my recent crash log:
---- Minecraft Crash Report ----
// Why did you do that?
Time: 11/23/15 3:13 PM
Description: Ticking entity
java.lang.ClassCastException: noppes.npcs.api.wrapper.EntityWrapper cannot be cast to noppes.npcs.api.entity.IEntityLivingBase
at noppes.npcs.api.event.NpcEvent$CollideEvent.<init>(NpcEvent.java:127)
at noppes.npcs.EventHooks.onNPCCollide(EventHooks.java:92)
at noppes.npcs.entity.EntityNPCInterface.onCollide(EntityNPCInterface.java:1101)
at noppes.npcs.entity.EntityNPCInterface.func_70636_d(EntityNPCInterface.java:361)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1628)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:229)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:262)
at noppes.npcs.entity.EntityCustomNpc.func_70071_h_(EntityCustomNpc.java:35)
at net.minecraft.world.World.func_72866_a(World.java:1880)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:732)
at net.minecraft.world.World.func_72870_g(World.java:1850)
at net.minecraft.world.World.func_72939_s(World.java:1679)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:571)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:704)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:598)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:164)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at noppes.npcs.api.event.NpcEvent$CollideEvent.<init>(NpcEvent.java:127)
at noppes.npcs.EventHooks.onNPCCollide(EventHooks.java:92)
at noppes.npcs.entity.EntityNPCInterface.onCollide(EntityNPCInterface.java:1101)
at noppes.npcs.entity.EntityNPCInterface.func_70636_d(EntityNPCInterface.java:361)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1628)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:229)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:262)
at noppes.npcs.entity.EntityCustomNpc.func_70071_h_(EntityCustomNpc.java:35)
at net.minecraft.world.World.func_72866_a(World.java:1880)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:732)
at net.minecraft.world.World.func_72870_g(World.java:1850)
-- Entity being ticked --
Details:
Entity Type: customnpcs.CustomNpc (noppes.npcs.entity.EntityCustomNpc)
Entity ID: 28
Entity Name: Loxiku
Entity's Exact location: 1458.50, 4.00, 936.50
Entity's Block location: 1458.00,4.00,936.00 - World: (1458,4,936), Chunk: (at 2,0,8 in 91,58; contains blocks 1456,0,928 to 1471,255,943), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Rider: ~~ERROR~~ NullPointerException: null
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1679)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:571)
-- Affected level --
Details:
Level name: My World IM.
All players: 0 total; []
Chunk stats: ServerChunkCache: 625 Drop: 0
Level seed: 7397617101617982181
Level generator: ID 01 - flat, ver 0. Features enabled: true
Level generator options:
Level spawn location: 1522.00,4.00,978.00 - World: (1522,4,978), Chunk: (at 2,0,2 in 95,61; contains blocks 1520,0,976 to 1535,255,991), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Level time: 71364 game time, 71364 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 91333 (now: false), thunder time: 86219 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:704)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:598)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:164)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 1.8
Operating System: Windows 8.1 (amd64) version 6.3
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 211022928 bytes (201 MB) / 433549312 bytes (413 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1543 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.8-11.14.3.1543.jar)
UCHIJAAAA Forge{11.14.3.1543} [Minecraft Forge] (forge-1.8-11.14.3.1543.jar)
UCHIJAAAA customnpcs{1.8.0_beta} [CustomNPCs] (CustomNPCs_1.8.0_beta.jar)
UCHIJAAAA worldedit{6.1} [WorldEdit] (worldedit-forge-mc1.8-6.1.jar)
Loaded coremods (and transformers):
GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
The place site where I've downloaded the mod was from http://file-minecraft.com/custom-npcs-mod/
My forge is to Minecraft's 1.8 version. It has worked with other mods. Thank you!
try to do it from this website or reinstall forge and see
ello scrub whattup
1. Take down that link. That website is illegal.
2. Read this: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/mods-discussion/2314237-list-of-sites-stealing-minecraft-content
3. Get the official version from here.
4. Show us the new log if it still crashes.
CLICK FOR BEST SUPPORT WEBSITE EVER!
Make sure to click the reply or quote button on my post if you are replying to me, otherwise it is unlikely that I will see your post.