QuestionHelpMaking A Mod, Modloader Compatible

Posts 1–4 of 4 · Page 1 of 1
Making A Mod, Modloader Compatible
As the title would suggest, i need help makin a mod compatible, please can someone help me out, i will tell u which files ive made atm

Basically, im making more food and ive made the texture n everythin but i dno how to make it heal how much i tell it too and also and to make it drop from cows apart from the "EntityCow.Java"

So, ive made:
mod_BeefRaw.java
ItemBeefRaw.java

Can you please help me im stuck because i even type "healAmount(j);" but it says unknown symbol argghhh please help im confused :L
Ive made it heal but, i dno how to make it drop from a cow anybody kno
Code:
{   
    protected int getDropItemId()
    {
        return Item.leather.shiftedIndex;
    } else
    {
       return Item.beefRaw.shiftedIndex;
    }
}
That [might] should work.
Quote Originally Posted by Physcadelic View Post
Code:
{   
    protected int getDropItemId()
    {
        return Item.leather.shiftedIndex;
    } else
    {
       return Item.beefRaw.shiftedIndex;
    }
}
That [might] should work.
ye but how do i make it so the cow drops it, what file do i edit?
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us