So, by looking at the title you're probably passing me up as an average Joe that knows no code, but you are wrong! *dun, dun, duuuun!*
More seriously, though, I have 3 different ore blocks and I want them all to drop gems of themselves (say RubyOre drops RubyGem) but I refuse to make classes for them just to say I want them to drop these items.
rubyOre = new Block(MASS_Info.rubyOreID, Material.rock);
That is the example I want to use. I want my ores to just be basic blocks and to Extend Block and not have to create individual classes.
My question is can I change what they drop in my base classes init() method?
For example, is there a method or a function to do so?
Thanks!