ok so I want to make my own wolf like mob, looks the same, just with a different texture, but when I copy the entity file and put it in Entitymywolf.java and add this,
map.put(Entitymywolf.class, new RenderBiped(new ModelBiped(), 0.5F));
It looks like a human when it spawns, has arms legs everything, acts like a wolf, but looks human....... whats wrong and what can I do to fix this for my other mobs in the future?
even when I do that I get a human looking model, but when I try to hit it, the head of the thing cant get hurt, but the feet can? like the wolf model is there, but is being displayed as a human.
I did that and then when I got into the area it spawns, and I had seen one before, I got this
Mods loaded: 2
ModLoader 1.0.0
net.minecraft.src.mod_DITEMS null
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
If you wish to report this, please copy this entire text and email it to [email protected].
Please include a description of what you did when the error occured.
--- BEGIN ERROR REPORT b96af988 --------
Generated 1/4/12 8:45 PM
Minecraft: Minecraft 1.0.0
OS: Mac OS X (x86_64) version 10.7.2
Java: 1.6.0_29, Apple Inc.
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Apple Inc.
LWJGL: 2.4.2
OpenGL: NVIDIA GeForce 9400 OpenGL Engine version 2.1 NVIDIA-7.12.9, NVIDIA Corporation
java.lang.ClassCastException: net.minecraft.src.Entitymywolf cannot be cast to net.minecraft.src.EntityWolf
at net.minecraft.src.RenderWolf.doRender(RenderWolf.java:54)
at net.minecraft.src.RenderManager.renderEntityWithPosYaw(RenderManager.java:180)
at net.minecraft.src.RenderManager.renderEntity(RenderManager.java:171)
at net.minecraft.src.RenderGlobal.renderEntities(RenderGlobal.java:367)
at net.minecraft.src.EntityRenderer.renderWorld(EntityRenderer.java:905)
at net.minecraft.src.EntityRenderer.updateCameraAndRender(EntityRenderer.java:744)
at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:25)
at net.minecraft.client.Minecraft.func_40001_x(Minecraft.java:729)
at net.minecraft.client.Minecraft.run(Minecraft.java:627)
at MCP.overrides.ApiCore.run(ApiCore.java:440)
at java.lang.Thread.run(Thread.java:680)
--- END ERROR REPORT ad7cfa6d ----------
and this
It looks like a human when it spawns, has arms legs everything, acts like a wolf, but looks human....... whats wrong and what can I do to fix this for my other mobs in the future?
to
mywolf:
and I still get a human?
l
Just copy and paste.
To:
Did I help you? There's a little white plus down the bottom. I hope your confused!
What exactly is wrong with it now?
I did that and then when I got into the area it spawns, and I had seen one before, I got this
map.put(Entitymywolf.class, new RenderWolf(new ModelWolf(), 0.5F));
into this:
map.put(net.minecraft.src.Entitymywolf.class, new RenderWolf(new ModelWolf(), 0.5F));