Compatibility of "GTOres" and "Astrominer" from "Galacticraft 3". Need help with NBT

I took a closer look at your “Drops_SmallOre” code…
I also found the standard ore drop code:

minecraft.block.BlockOre.java
    public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) {
        return this == Blocks.coal_ore ? Items.coal : (this == Blocks.diamond_ore ? Items.diamond : (this == Blocks.lapis_ore ? Items.dye : (this == Blocks.emerald_ore ? Items.emerald : (this == Blocks.quartz_ore ? Items.quartz : Item.getItemFromBlock(this)))));
    }

I also haven’t found how you’ve built in experience drops on mining (maybe I shouldn’t bother with that).
I also think the question will arise how can I assign the dropout of a certain material for each block using metadata.

P.S.: I should probably make my code more correct…

2 Likes