MC Modding
Please register and join the community!

[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 on 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
 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.)


Posts : 47
Join date : 2011-10-24

Back to top Go down

Back to top

MC Modding :: Help :: Help

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