Help with ModLoader Entity
2 posters
Page 1 of 1
Help with ModLoader Entity
I am updating a mod from 1.3.1 and ended up recoding it, but I am getting errors whien I try to compile it. I am using modloader and get the same errors with all the entities. Here is the code for one of them. They most comprise of all the same stuff.
- Code:
package net.minecraft.src;
public class EntityCookieMonster extends Entity
{
public EntityCookieMonster(World par1World)
{
super(par1World);
this.texture = "/humans/CookieMonster.png";
this.moveSpeed = 1.0F;
}
public int getMaxHealth()
{
return 20;
}
protected String getLivingSound()
{
return "mob.villager.default";
}
protected String getHurtSound()
{
return "mob.villager.defaulthurt";
}
protected String getDeathSound()
{
return "mob.villager.defaultdeath";
}
protected int getDropItemId()
{
return Item.cookie.itemID;
}
protected boolean canDespawn()
{
return false;
}
}
Re: Help with ModLoader Entity
I'm not quite sure actually. I might be able to help you later today, (for me) it's kindof hard to tell what the problem is without eclipse.
FiskFille- Posts : 33
Points : 31
Reputation : 3
Join date : 2013-05-23
Location : Skövde, Sweden
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|