Wondering how do I make other modeled entities? So far I can only manage to make humanoid mobs. I wish to make bats, slimes, wolfs, ect.
Tried using this:
public void addRenderer(Map var1)
{
var1.put(EntityHSSumZombie.class, new RenderLiving(new ModelBat(),.5f));//says that the pigman should use the living renderer and the zombie model note you can change the renderer and the model
}
and even Replaced the RenderLiving with RenderBat(); however nothing works T_T
Wondering how do I make other modeled entities? So far I can only manage to make humanoid mobs. I wish to make bats, slimes, wolfs, ect.
Tried using this:
public void addRenderer(Map var1)
{
var1.put(EntityHSSumZombie.class, new RenderLiving(new ModelBat(),.5f));//says that the pigman should use the living renderer and the zombie model note you can change the renderer and the model
}
and even Replaced the RenderLiving with RenderBat(); however nothing works T_T
This is what I get:
your problem is that the texture of your mob doesnt match the model and that is why it is screwed up
for some reason their is a problem with adding non hostile mob i figured out how to do it but it is long to explain i might post a tutorial on it later
for some reason their is a problem with adding non hostile mob i figured out how to do it but it is long to explain i might post a tutorial on it later
Looking forward to it
Seems the RenderLiving(parm, parm) only likes the biped pigman textures =/ , can't get any other models or renders to work correctly, unless I extend my Entitymob.class to either EntityZombie, EntityBat, ect.
WOOOOOOO!!!!
Thanks :DD
Blarg.
My dev log: rand.nextInt()
weeroo96
Errors in 1.4.2
IDK if this is correct. I'm a newbie to modding
EDIT: Nope. That was in 1.3.2. It's for timing something, I think. Derp.
Replace it with this code:
thanks
Lol, someone else on another forum beat you to it. Thanks anyways
Um? What do you mean?
BTW Someone knows how to make the mob I created hold a sword? I tried using the same code used by ZombiePigman, but didnt work:
Tried using this:
public void addRenderer(Map var1)
{
var1.put(EntityHSSumZombie.class, new RenderLiving(new ModelBat(),.5f));//says that the pigman should use the living renderer and the zombie model note you can change the renderer and the model
}
and even Replaced the RenderLiving with RenderBat(); however nothing works T_T
your problem is that the texture of your mob doesnt match the model and that is why it is screwed up
Sorry totally learning how to do mobs @_@, lol Could you provide an example of a animal type Entity please :). Seeing it helps me learn.
public ItemStack getHeldItem()
{
return defaultHeldItem;
}
static
{
defaultHeldItem = new ItemStack(Item.ingotIron, 1);
}
private static final ItemStack defaultHeldItem;
Looking forward to it
Seems the RenderLiving(parm, parm) only likes the biped pigman textures =/ , can't get any other models or renders to work correctly, unless I extend my Entitymob.class to either EntityZombie, EntityBat, ect.