MC Modding
Please register and join the community!

[Unanswered] Having something drop 2 Items

MC Modding :: Help :: Help

View previous topic View next topic Go down

[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
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

View user profile

Back to top Go down

View previous topic View next topic Back to top


MC Modding :: Help :: Help

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