I'm going to try to make this as detailed as i can, I'm a giant noob when it comes to java but i learn fast. my main language is HTML so u can see I'm probably out of my league trying to make such a mod so soon but i really want this mod and i doubt anyone will make it soon.
So basically what I'm doing is i have this block ( GemOreBlock )
and i have these items created already ( FireGem,WaterGem,WindGem,EarthGem )
what i want to do is.. when the elemental ore is broke by pick
i want one of the 6 things to drop RANDOMLY
( 1-4 being the gems, 5 being coal 6 being NOTHING )
MyCode
As you can see it only drops the Firegem.
Befor posting on the forums ive searched and searched, i found a mod that does exactly what i want to do, the problem is when i DE-compiled his mod he used modloader instead of forge
His Code
How can i go about doing this in forge?