Hi! I am making a mod with MODLOADER and I got a crash error. This issue got me about a year ago.
I'm having some trouble with rendering an Entity called "EntityShard".
The EntityShard is an extension to the EntityThrowable class... but I found the Render in another topic and made the Model class myself.
When I start Minecraft it's all ok but when I spawn the EntityShard in the world it crashes.
Can someone please help me finding the problem in this situation? I will be very thankfull.
This is my EntityShard code. It's a copy paste of EntitySnowball but I didn't used the same class because I want to modify it later.
package net.minecraft.src;
public class EntityShard extends EntityThrowable
{
public EntityShard(World par1World)
{
super(par1World);
}
public EntityShard(World par1World, EntityLiving par2EntityLiving)
{
super(par1World, par2EntityLiving);
}
public EntityShard(World par1World, double par2, double par4, double par6)
{
super(par1World, par2, par4, par6);
}
/**
* Called when this EntityThrowable hits a block or entity.
*/
protected void onImpact(MovingObjectPosition par1MovingObjectPosition)
{
if (par1MovingObjectPosition.entityHit != null)
{
byte var2 = 0;
if (par1MovingObjectPosition.entityHit instanceof EntityBlaze)
{
var2 = 3;
}
par1MovingObjectPosition.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.func_85052_h()), var2);
}
for (int var3 = 0; var3 < 8; ++var3)
{
this.worldObj.spawnParticle("snowballpoof", this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D);
}
if (!this.worldObj.isRemote)
{
this.setDead();
}
}
}
This is where I call the Shard (it's an item)
public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer)
{
world.spawnEntityInWorld(new EntityShard(world,ModLoader.getMinecraftInstance().thePlayer));
return itemstack;
}
Minecraft has stopped running because it encountered a problem; Rendering entity in world
A full error report has been saved to C:\Archivos de programa\MCP\jars\.\crash-reports\crash-2012-12-18_08.19.24-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT e3d30ee2 --------
Full report at:
C:\Archivos de programa\MCP Spiral\jars\.\crash-reports\crash-2012-12-18_08.19.24-client.txt
Please show that file to Mojang, NOT just this screen!
Generated 18/12/12 8:19
-- Head --
Stacktrace:
at net.minecraft.src.RenderShard.doRender(RenderShard.java:23)
-- Entity being rendered --
Details:
Entity Type: Shard (net.minecraft.src.EntityShard)
Entity ID: 3246
Name: entity.Shard.name
Exact location: -185,18, 7,65, -263,86
Block location: World: (-186,7,-264), Chunk: (at 6,0,8 in -12,-17; contains blocks -192,0,-272 to -177,255,-257), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Momentum: -0,01, -0,02, -1,48
-- Renderer details --
Details:
Assigned renderer: net.minecraft.src.RenderShard@136962d
Location: 0,16,0,03,-0,21 - World: (0,0,-1), Chunk: (at 0,0,15 in 0,-1; contains blocks 0,0,-16 to 15,255,-1), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Rotation: -179.8015
Delta: 0.15823424
Stacktrace:
at net.minecraft.src.RenderManager.renderEntityWithPosYaw(RenderManager.java:218)
at net.minecraft.src.RenderManager.renderEntity(RenderManager.java:187)
at net.minecraft.src.RenderGlobal.renderEntities(RenderGlobal.java:438)
at net.minecraft.src.EntityRenderer.renderWorld(EntityRenderer.java:1097)
at net.minecraft.src.EntityRenderer.updateCameraAndRender(EntityRenderer.java:936)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player808'/46, l='MpServer', x=-185,33, y=7,54, z=-262,56]]
Chunk stats: MultiplayerChunkCache: 441
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (-177,4,-252), Chunk: (at 15,0,4 in -12,-16; contains blocks -192,0,-256 to -177,255,-241), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Level time: 81894 game time, 17795 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 8 total; [EntityPig['Pig'/35, l='MpServer', x=-164,84, y=6,00, z=-292,66], EntityClientPlayerMP['Player808'/46, l='MpServer', x=-185,33, y=7,54, z=-262,56], EntitySheep['Sheep'/38, l='MpServer', x=-152,34, y=6,00, z=-280,22], EntityPig['Pig'/39, l='MpServer', x=-132,53, y=6,00, z=-338,19], EntityPig['Pig'/37, l='MpServer', x=-145,81, y=6,00, z=-331,69], EntityPig['Pig'/40, l='MpServer', x=-136,72, y=6,00, z=-302,01], EntitySheep['Sheep'/41, l='MpServer', x=-133,03, y=6,00, z=-272,94], EntityShard['entity.Shard.name'/3246, l='MpServer', x=-185,18, y=7,65, z=-263,86]]
Retry entities: 0 total; []
Stacktrace:
at net.minecraft.src.WorldClient.addWorldInfoToCrashReport(WorldClient.java:411)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2428)
at net.minecraft.client.Minecraft.run(Minecraft.java:784)
at java.lang.Thread.run(Unknown Source)
-- System Details --
Details:
Minecraft Version: 1.4.5
Operating System: Windows XP (x86) version 5.1
Java Version: 1.7.0_09, Oracle Corporation
Java VM Version: Java HotSpot™ Client VM (mixed mode), Oracle Corporation
Memory: 877187944 bytes (836 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 962 (53872 bytes; 0 MB) allocated, 123 (6888 bytes; 0 MB) used
Suspicious classes: Start[net.minecraft.src.IPlayerUsage, MinecraftFakeLauncher, ThreadShutdown, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 2
ModLoader 1.4.5
mod_Bionicle 1.4.5
LWJGL: 2.4.2
OpenGL: Intel Bear Lake B GL version 1.4.0 - Build 7.15.10.5218, Intel
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: 240 (13440 bytes; 0 MB) allocated, 49 (2744 bytes; 0 MB) used
java.lang.ClassCastException: net.minecraft.src.EntityShard cannot be cast to net.minecraft.src.EntityLiving
at net.minecraft.src.RenderShard.doRender(RenderShard.java:23)
at net.minecraft.src.RenderManager.renderEntityWithPosYaw(RenderManager.java:218)
at net.minecraft.src.RenderManager.renderEntity(RenderManager.java:187)
at net.minecraft.src.RenderGlobal.renderEntities(RenderGlobal.java:438)
at net.minecraft.src.EntityRenderer.renderWorld(EntityRenderer.java:1097)
at net.minecraft.src.EntityRenderer.updateCameraAndRender(EntityRenderer.java:936)
at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:20)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:872)
at net.minecraft.client.Minecraft.run(Minecraft.java:768)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 8a27c77f ----------
And obviously I included
public void addRenderer(Map map)
{
map.put(EntityShard.class, new RenderShard( 0.5F));
}
public mod_***()
{
ModLoader.registerEntityID(EntityShard.class, "Shard", ModLoader.getUniqueEntityId());
I really need to know how to fix this to advance with my mod. Thanks.
Heres the problem. Your rendering a non-living entity with a living entity renderer. Either you can write your own renderer that extends Render or make your own throwable entity code that extends EntityLiving.
That's the problem. Could I create an EntityLiving with the same properties that a Throwable one? I mean, won't it walk or something like that? If it is possible, please tell me and I will start right now.
The other alternative, about creating a non-living render file, I just don't know nothing and have no experience about rendering. I don't know how does it even works. The most advanced thing I've done was creating a living entity with a custom model. So I will try the first one I think.
Well, I have tried that (it's an Entity Arrow settings for an Entity Living, I also added a MaxHealth)
I got a new Error:
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Ticking entity
A full error report has been saved to C:\Archivos de programa\MCP Spiral\jars\.\crash-reports\crash-2012-12-20_07.34.00-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT 55ddaa93 --------
Full report at:
C:\Archivos de programa\MCP Spiral\jars\.\crash-reports\crash-2012-12-20_07.34.00-client.txt
Please show that file to Mojang, NOT just this screen!
Generated 20/12/12 7:34
-- Head --
Stacktrace:
at net.minecraft.src.DataWatcher.getWatchableObjectInt(DataWatcher.java:81)
at net.minecraft.src.EntityLiving.updatePotionEffects(EntityLiving.java:2283)
at net.minecraft.src.EntityLiving.onEntityUpdate(EntityLiving.java:609)
at net.minecraft.src.Entity.onUpdate(Entity.java:380)
at net.minecraft.src.EntityLiving.onUpdate(EntityLiving.java:724)
at net.minecraft.src.EntityShard.onUpdate(EntityShard.java:168)
at net.minecraft.src.World.updateEntityWithOptionalForce(World.java:2138)
at net.minecraft.src.World.updateEntity(World.java:2109)
-- Entity being ticked --
Details:
Entity Type: Shard (net.minecraft.src.EntityShard)
Entity ID: 3097
Name: entity.Shard.name
Exact location: 1132,05, 5,64, 691,13
Block location: World: (1132,5,691), Chunk: (at 12,0,3 in 70,43; contains blocks 1120,0,688 to 1135,255,703), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Momentum: 0,85, 0,07, -1,21
Stacktrace:
at net.minecraft.src.World.updateEntities(World.java:1960)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player262'/18, l='MpServer', x=1131,92, y=5,62, z=691,04]]
Chunk stats: MultiplayerChunkCache: 441
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (1127,4,697), Chunk: (at 7,0,9 in 70,43; contains blocks 1120,0,688 to 1135,255,703), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Level time: 43592 game time, 43592 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: 11 total; [EntityShard['entity.Shard.name'/3097, l='MpServer', x=1132,05, y=5,64, z=691,13], EntityPig['Pig'/3, l='MpServer', x=1065,06, y=4,00, z=649,91], EntityBat['Bat'/4, l='MpServer', x=1127,47, y=1,00, z=691,75], EntityBat['Bat'/5, l='MpServer', x=1129,64, y=1,00, z=690,38], EntityBat['Bat'/6, l='MpServer', x=1129,08, y=1,00, z=692,66], EntityBat['Bat'/7, l='MpServer', x=1129,75, y=1,00, z=690,69], EntityClientPlayerMP['Player262'/18, l='MpServer', x=1131,92, y=5,62, z=691,04], EntitySheep['Sheep'/8, l='MpServer', x=1189,41, y=4,00, z=642,56], EntitySheep['Sheep'/9, l='MpServer', x=1185,88, y=4,00, z=640,13], EntitySheep['Sheep'/10, l='MpServer', x=1191,34, y=4,00, z=644,75], EntitySheep['Sheep'/11, l='MpServer', x=1207,34, y=4,00, z=630,25]]
Retry entities: 0 total; []
Stacktrace:
at net.minecraft.src.WorldClient.addWorldInfoToCrashReport(WorldClient.java:411)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2428)
at net.minecraft.client.Minecraft.run(Minecraft.java:784)
at java.lang.Thread.run(Unknown Source)
-- System Details --
Details:
Minecraft Version: 1.4.5
Operating System: Windows XP (x86) version 5.1
Java Version: 1.7.0_09, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 864604624 bytes (824 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 308 (17248 bytes; 0 MB) allocated, 155 (8680 bytes; 0 MB) used
Suspicious classes: Start[net.minecraft.src.IPlayerUsage, MinecraftFakeLauncher, ThreadShutdown, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 2
ModLoader 1.4.5
mod_Bionicle 1.4.5
LWJGL: 2.4.2
OpenGL: Intel Bear Lake B GL version 1.4.0 - Build 7.15.10.5218, Intel
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: 84 (4704 bytes; 0 MB) allocated, 31 (1736 bytes; 0 MB) used
java.lang.NullPointerException
at net.minecraft.src.DataWatcher.getWatchableObjectInt(DataWatcher.java:81)
at net.minecraft.src.EntityLiving.updatePotionEffects(EntityLiving.java:2283)
at net.minecraft.src.EntityLiving.onEntityUpdate(EntityLiving.java:609)
at net.minecraft.src.Entity.onUpdate(Entity.java:380)
at net.minecraft.src.EntityLiving.onUpdate(EntityLiving.java:724)
at net.minecraft.src.EntityShard.onUpdate(EntityShard.java:168)
at net.minecraft.src.World.updateEntityWithOptionalForce(World.java:2138)
at net.minecraft.src.World.updateEntity(World.java:2109)
at net.minecraft.src.World.updateEntities(World.java:1960)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1846)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:843)
at net.minecraft.client.Minecraft.run(Minecraft.java:768)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT b645d4a4 ----------
Thanks for helping, I will post if I advance with this.
I didn't used any living things... just an Entity class similar to the EntityThrowable one, a modified Render class of the RenderBoat, and my own model! YES!!! well, thanks for your help and support. If you want me to post the class files tell me, ok?
Oh I'm so happy.
Well, I have tried that (it's an Entity Arrow settings for an Entity Living, I also added a MaxHealth)
I got a new Error:
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Ticking entity
A full error report has been saved to C:\Archivos de programa\MCP Spiral\jars\.\crash-reports\crash-2012-12-20_07.34.00-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT 55ddaa93 --------
Full report at:
C:\Archivos de programa\MCP Spiral\jars\.\crash-reports\crash-2012-12-20_07.34.00-client.txt
Please show that file to Mojang, NOT just this screen!
Generated 20/12/12 7:34
-- Head --
Stacktrace:
at net.minecraft.src.DataWatcher.getWatchableObjectInt(DataWatcher.java:81)
at net.minecraft.src.EntityLiving.updatePotionEffects(EntityLiving.java:2283)
at net.minecraft.src.EntityLiving.onEntityUpdate(EntityLiving.java:609)
at net.minecraft.src.Entity.onUpdate(Entity.java:380)
at net.minecraft.src.EntityLiving.onUpdate(EntityLiving.java:724)
at net.minecraft.src.EntityShard.onUpdate(EntityShard.java:168)
at net.minecraft.src.World.updateEntityWithOptionalForce(World.java:2138)
at net.minecraft.src.World.updateEntity(World.java:2109)
-- Entity being ticked --
Details:
Entity Type: Shard (net.minecraft.src.EntityShard)
Entity ID: 3097
Name: entity.Shard.name
Exact location: 1132,05, 5,64, 691,13
Block location: World: (1132,5,691), Chunk: (at 12,0,3 in 70,43; contains blocks 1120,0,688 to 1135,255,703), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Momentum: 0,85, 0,07, -1,21
Stacktrace:
at net.minecraft.src.World.updateEntities(World.java:1960)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player262'/18, l='MpServer', x=1131,92, y=5,62, z=691,04]]
Chunk stats: MultiplayerChunkCache: 441
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (1127,4,697), Chunk: (at 7,0,9 in 70,43; contains blocks 1120,0,688 to 1135,255,703), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Level time: 43592 game time, 43592 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: 11 total; [EntityShard['entity.Shard.name'/3097, l='MpServer', x=1132,05, y=5,64, z=691,13], EntityPig['Pig'/3, l='MpServer', x=1065,06, y=4,00, z=649,91], EntityBat['Bat'/4, l='MpServer', x=1127,47, y=1,00, z=691,75], EntityBat['Bat'/5, l='MpServer', x=1129,64, y=1,00, z=690,38], EntityBat['Bat'/6, l='MpServer', x=1129,08, y=1,00, z=692,66], EntityBat['Bat'/7, l='MpServer', x=1129,75, y=1,00, z=690,69], EntityClientPlayerMP['Player262'/18, l='MpServer', x=1131,92, y=5,62, z=691,04], EntitySheep['Sheep'/8, l='MpServer', x=1189,41, y=4,00, z=642,56], EntitySheep['Sheep'/9, l='MpServer', x=1185,88, y=4,00, z=640,13], EntitySheep['Sheep'/10, l='MpServer', x=1191,34, y=4,00, z=644,75], EntitySheep['Sheep'/11, l='MpServer', x=1207,34, y=4,00, z=630,25]]
Retry entities: 0 total; []
Stacktrace:
at net.minecraft.src.WorldClient.addWorldInfoToCrashReport(WorldClient.java:411)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2428)
at net.minecraft.client.Minecraft.run(Minecraft.java:784)
at java.lang.Thread.run(Unknown Source)
-- System Details --
Details:
Minecraft Version: 1.4.5
Operating System: Windows XP (x86) version 5.1
Java Version: 1.7.0_09, Oracle Corporation
Java VM Version: Java HotSpot™ Client VM (mixed mode), Oracle Corporation
Memory: 864604624 bytes (824 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 308 (17248 bytes; 0 MB) allocated, 155 (8680 bytes; 0 MB) used
Suspicious classes: Start[net.minecraft.src.IPlayerUsage, MinecraftFakeLauncher, ThreadShutdown, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 2
ModLoader 1.4.5
mod_Bionicle 1.4.5
LWJGL: 2.4.2
OpenGL: Intel Bear Lake B GL version 1.4.0 - Build 7.15.10.5218, Intel
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: 84 (4704 bytes; 0 MB) allocated, 31 (1736 bytes; 0 MB) used
java.lang.NullPointerException
at net.minecraft.src.DataWatcher.getWatchableObjectInt(DataWatcher.java:81)
at net.minecraft.src.EntityLiving.updatePotionEffects(EntityLiving.java:2283)
at net.minecraft.src.EntityLiving.onEntityUpdate(EntityLiving.java:609)
at net.minecraft.src.Entity.onUpdate(Entity.java:380)
at net.minecraft.src.EntityLiving.onUpdate(EntityLiving.java:724)
at net.minecraft.src.EntityShard.onUpdate(EntityShard.java:168)
at net.minecraft.src.World.updateEntityWithOptionalForce(World.java:2138)
at net.minecraft.src.World.updateEntity(World.java:2109)
at net.minecraft.src.World.updateEntities(World.java:1960)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1846)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:843)
at net.minecraft.client.Minecraft.run(Minecraft.java:768)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT b645d4a4 ----------
Thanks for helping, I will post if I advance with this.
How did you fix that error? the data watcher error is what im getting, but for completely different reasons (i think)
I'm having some trouble with rendering an Entity called "EntityShard".
The EntityShard is an extension to the EntityThrowable class... but I found the Render in another topic and made the Model class myself.
When I start Minecraft it's all ok but when I spawn the EntityShard in the world it crashes.
Can someone please help me finding the problem in this situation? I will be very thankfull.
This is my EntityShard code. It's a copy paste of EntitySnowball but I didn't used the same class because I want to modify it later.
This is where I call the Shard (it's an item)
The RenderShard class
And the ModelShard
Crash report:
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Rendering entity in world
A full error report has been saved to C:\Archivos de programa\MCP\jars\.\crash-reports\crash-2012-12-18_08.19.24-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT e3d30ee2 --------
Full report at:
C:\Archivos de programa\MCP Spiral\jars\.\crash-reports\crash-2012-12-18_08.19.24-client.txt
Please show that file to Mojang, NOT just this screen!
Generated 18/12/12 8:19
-- Head --
Stacktrace:
at net.minecraft.src.RenderShard.doRender(RenderShard.java:23)
-- Entity being rendered --
Details:
Entity Type: Shard (net.minecraft.src.EntityShard)
Entity ID: 3246
Name: entity.Shard.name
Exact location: -185,18, 7,65, -263,86
Block location: World: (-186,7,-264), Chunk: (at 6,0,8 in -12,-17; contains blocks -192,0,-272 to -177,255,-257), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Momentum: -0,01, -0,02, -1,48
-- Renderer details --
Details:
Assigned renderer: net.minecraft.src.RenderShard@136962d
Location: 0,16,0,03,-0,21 - World: (0,0,-1), Chunk: (at 0,0,15 in 0,-1; contains blocks 0,0,-16 to 15,255,-1), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Rotation: -179.8015
Delta: 0.15823424
Stacktrace:
at net.minecraft.src.RenderManager.renderEntityWithPosYaw(RenderManager.java:218)
at net.minecraft.src.RenderManager.renderEntity(RenderManager.java:187)
at net.minecraft.src.RenderGlobal.renderEntities(RenderGlobal.java:438)
at net.minecraft.src.EntityRenderer.renderWorld(EntityRenderer.java:1097)
at net.minecraft.src.EntityRenderer.updateCameraAndRender(EntityRenderer.java:936)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player808'/46, l='MpServer', x=-185,33, y=7,54, z=-262,56]]
Chunk stats: MultiplayerChunkCache: 441
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (-177,4,-252), Chunk: (at 15,0,4 in -12,-16; contains blocks -192,0,-256 to -177,255,-241), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Level time: 81894 game time, 17795 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 8 total; [EntityPig['Pig'/35, l='MpServer', x=-164,84, y=6,00, z=-292,66], EntityClientPlayerMP['Player808'/46, l='MpServer', x=-185,33, y=7,54, z=-262,56], EntitySheep['Sheep'/38, l='MpServer', x=-152,34, y=6,00, z=-280,22], EntityPig['Pig'/39, l='MpServer', x=-132,53, y=6,00, z=-338,19], EntityPig['Pig'/37, l='MpServer', x=-145,81, y=6,00, z=-331,69], EntityPig['Pig'/40, l='MpServer', x=-136,72, y=6,00, z=-302,01], EntitySheep['Sheep'/41, l='MpServer', x=-133,03, y=6,00, z=-272,94], EntityShard['entity.Shard.name'/3246, l='MpServer', x=-185,18, y=7,65, z=-263,86]]
Retry entities: 0 total; []
Stacktrace:
at net.minecraft.src.WorldClient.addWorldInfoToCrashReport(WorldClient.java:411)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2428)
at net.minecraft.client.Minecraft.run(Minecraft.java:784)
at java.lang.Thread.run(Unknown Source)
-- System Details --
Details:
Minecraft Version: 1.4.5
Operating System: Windows XP (x86) version 5.1
Java Version: 1.7.0_09, Oracle Corporation
Java VM Version: Java HotSpot™ Client VM (mixed mode), Oracle Corporation
Memory: 877187944 bytes (836 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 962 (53872 bytes; 0 MB) allocated, 123 (6888 bytes; 0 MB) used
Suspicious classes: Start[net.minecraft.src.IPlayerUsage, MinecraftFakeLauncher, ThreadShutdown, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 2
ModLoader 1.4.5
mod_Bionicle 1.4.5
LWJGL: 2.4.2
OpenGL: Intel Bear Lake B GL version 1.4.0 - Build 7.15.10.5218, Intel
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: 240 (13440 bytes; 0 MB) allocated, 49 (2744 bytes; 0 MB) used
java.lang.ClassCastException: net.minecraft.src.EntityShard cannot be cast to net.minecraft.src.EntityLiving
at net.minecraft.src.RenderShard.doRender(RenderShard.java:23)
at net.minecraft.src.RenderManager.renderEntityWithPosYaw(RenderManager.java:218)
at net.minecraft.src.RenderManager.renderEntity(RenderManager.java:187)
at net.minecraft.src.RenderGlobal.renderEntities(RenderGlobal.java:438)
at net.minecraft.src.EntityRenderer.renderWorld(EntityRenderer.java:1097)
at net.minecraft.src.EntityRenderer.updateCameraAndRender(EntityRenderer.java:936)
at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:20)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:872)
at net.minecraft.client.Minecraft.run(Minecraft.java:768)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 8a27c77f ----------
And obviously I included
I really need to know how to fix this to advance with my mod. Thanks.
The other alternative, about creating a non-living render file, I just don't know nothing and have no experience about rendering. I don't know how does it even works. The most advanced thing I've done was creating a living entity with a custom model. So I will try the first one I think.
Thanks for replying.
Its a bit rushed, but hopefully it should walk. Oh, and it wont walk around or anything. as long as it doesnt implemt any ai things.
I got a new Error:
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Ticking entity
A full error report has been saved to C:\Archivos de programa\MCP Spiral\jars\.\crash-reports\crash-2012-12-20_07.34.00-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT 55ddaa93 --------
Full report at:
C:\Archivos de programa\MCP Spiral\jars\.\crash-reports\crash-2012-12-20_07.34.00-client.txt
Please show that file to Mojang, NOT just this screen!
Generated 20/12/12 7:34
-- Head --
Stacktrace:
at net.minecraft.src.DataWatcher.getWatchableObjectInt(DataWatcher.java:81)
at net.minecraft.src.EntityLiving.updatePotionEffects(EntityLiving.java:2283)
at net.minecraft.src.EntityLiving.onEntityUpdate(EntityLiving.java:609)
at net.minecraft.src.Entity.onUpdate(Entity.java:380)
at net.minecraft.src.EntityLiving.onUpdate(EntityLiving.java:724)
at net.minecraft.src.EntityShard.onUpdate(EntityShard.java:168)
at net.minecraft.src.World.updateEntityWithOptionalForce(World.java:2138)
at net.minecraft.src.World.updateEntity(World.java:2109)
-- Entity being ticked --
Details:
Entity Type: Shard (net.minecraft.src.EntityShard)
Entity ID: 3097
Name: entity.Shard.name
Exact location: 1132,05, 5,64, 691,13
Block location: World: (1132,5,691), Chunk: (at 12,0,3 in 70,43; contains blocks 1120,0,688 to 1135,255,703), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Momentum: 0,85, 0,07, -1,21
Stacktrace:
at net.minecraft.src.World.updateEntities(World.java:1960)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Player262'/18, l='MpServer', x=1131,92, y=5,62, z=691,04]]
Chunk stats: MultiplayerChunkCache: 441
Level seed: 0
Level generator: ID 01 - flat, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (1127,4,697), Chunk: (at 7,0,9 in 70,43; contains blocks 1120,0,688 to 1135,255,703), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
Level time: 43592 game time, 43592 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: 11 total; [EntityShard['entity.Shard.name'/3097, l='MpServer', x=1132,05, y=5,64, z=691,13], EntityPig['Pig'/3, l='MpServer', x=1065,06, y=4,00, z=649,91], EntityBat['Bat'/4, l='MpServer', x=1127,47, y=1,00, z=691,75], EntityBat['Bat'/5, l='MpServer', x=1129,64, y=1,00, z=690,38], EntityBat['Bat'/6, l='MpServer', x=1129,08, y=1,00, z=692,66], EntityBat['Bat'/7, l='MpServer', x=1129,75, y=1,00, z=690,69], EntityClientPlayerMP['Player262'/18, l='MpServer', x=1131,92, y=5,62, z=691,04], EntitySheep['Sheep'/8, l='MpServer', x=1189,41, y=4,00, z=642,56], EntitySheep['Sheep'/9, l='MpServer', x=1185,88, y=4,00, z=640,13], EntitySheep['Sheep'/10, l='MpServer', x=1191,34, y=4,00, z=644,75], EntitySheep['Sheep'/11, l='MpServer', x=1207,34, y=4,00, z=630,25]]
Retry entities: 0 total; []
Stacktrace:
at net.minecraft.src.WorldClient.addWorldInfoToCrashReport(WorldClient.java:411)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2428)
at net.minecraft.client.Minecraft.run(Minecraft.java:784)
at java.lang.Thread.run(Unknown Source)
-- System Details --
Details:
Minecraft Version: 1.4.5
Operating System: Windows XP (x86) version 5.1
Java Version: 1.7.0_09, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 864604624 bytes (824 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 308 (17248 bytes; 0 MB) allocated, 155 (8680 bytes; 0 MB) used
Suspicious classes: Start[net.minecraft.src.IPlayerUsage, MinecraftFakeLauncher, ThreadShutdown, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 2
ModLoader 1.4.5
mod_Bionicle 1.4.5
LWJGL: 2.4.2
OpenGL: Intel Bear Lake B GL version 1.4.0 - Build 7.15.10.5218, Intel
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: 84 (4704 bytes; 0 MB) allocated, 31 (1736 bytes; 0 MB) used
java.lang.NullPointerException
at net.minecraft.src.DataWatcher.getWatchableObjectInt(DataWatcher.java:81)
at net.minecraft.src.EntityLiving.updatePotionEffects(EntityLiving.java:2283)
at net.minecraft.src.EntityLiving.onEntityUpdate(EntityLiving.java:609)
at net.minecraft.src.Entity.onUpdate(Entity.java:380)
at net.minecraft.src.EntityLiving.onUpdate(EntityLiving.java:724)
at net.minecraft.src.EntityShard.onUpdate(EntityShard.java:168)
at net.minecraft.src.World.updateEntityWithOptionalForce(World.java:2138)
at net.minecraft.src.World.updateEntity(World.java:2109)
at net.minecraft.src.World.updateEntities(World.java:1960)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1846)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:843)
at net.minecraft.client.Minecraft.run(Minecraft.java:768)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT b645d4a4 ----------
I didn't used any living things... just an Entity class similar to the EntityThrowable one, a modified Render class of the RenderBoat, and my own model! YES!!! well, thanks for your help and support. If you want me to post the class files tell me, ok?
Oh I'm so happy.
How did you fix that error? the data watcher error is what im getting, but for completely different reasons (i think)