MC Modding
Please register and join the community!


Join the forum, it's quick and easy

MC Modding
Please register and join the community!
MC Modding
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[Unanswered] Having something drop 2 Items

MC Modding :: Help :: Help

Go down

[Unanswered] Having something drop 2 Items Empty [Unanswered] Having something drop 2 Items

Post by jesshankin22 Sun Oct 30, 2011 3:42 am

I have a mod that is a cocaine plant (pm me if you want the code I used cause people are having difficulty with this) and I was wondering how to make it drop 2 things, ex: cocaine leaves And cocaine seeds
Code:
 return mod_COCAINELEAVES.Cocaineleaves.shiftedIndex;
        } else
        {
            return 3;
        }
    }
 

    public int quantityDropped(Random random)
    {
        return 2;
    }
}

(I only put this part as this is all I need help with.)

jesshankin22
Member

Posts : 47
Join date : 2011-10-24

Back to top Go down

Back to top

- Similar topics

MC Modding :: Help :: Help

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