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.
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;
}
}
Create an account or sign in to comment.
1
*Bumpity bump bump*