Society of Confident Modders
Please Log In. If you do not have an account please Register. This will give you access to many more features in the forums. If you do not want to register, you can close this window and continue browsing the forums.

Join the forum, it's quick and easy

Society of Confident Modders
Please Log In. If you do not have an account please Register. This will give you access to many more features in the forums. If you do not want to register, you can close this window and continue browsing the forums.
Society of Confident Modders
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Help with ModLoader Entity

2 posters

Go down

Help with ModLoader Entity Empty Help with ModLoader Entity

Post by Willsr71 Tue Jun 18, 2013 3:34 pm

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;
    }
}
Willsr71
Willsr71

Help with ModLoader Entity TdhvdUY

Posts : 44
Points : 66
Reputation : 5
Join date : 2013-05-22
Location : US

http://willsr71.zzl.org

Back to top Go down

Help with ModLoader Entity Empty Re: Help with ModLoader Entity

Post by FiskFille Wed Jun 19, 2013 4:56 am

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
FiskFille

Help with ModLoader Entity TdhvdUY

Posts : 33
Points : 31
Reputation : 3
Join date : 2013-05-23
Location : Skövde, Sweden

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum