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

You are completely right!
My main problem is the lack of basic programming knowledge. I don’t have enough example to solve my task.
I have code:

Summary
    @SideOnly(Side.CLIENT)
    public void registerBlockIcons(IIconRegister reg) {
        this.blockIcons = new IIcon[9];
        this.blockIcons[0] = reg.registerIcon(TEXTURE_PREFIX + "CertusQuartz");
        this.blockIcons[1] = reg.registerIcon(TEXTURE_PREFIX + "Cooperite");
        this.blockIcons[2] = reg.registerIcon(TEXTURE_PREFIX + "Dolamide");
        this.blockIcons[3] = reg.registerIcon(TEXTURE_PREFIX + "Iridium");
        this.blockIcons[4] = reg.registerIcon(TEXTURE_PREFIX + "Naquadah");
        this.blockIcons[5] = reg.registerIcon(TEXTURE_PREFIX + "Pyrite");
        this.blockIcons[6] = reg.registerIcon(TEXTURE_PREFIX + "Scheelite");
        this.blockIcons[7] = reg.registerIcon(TEXTURE_PREFIX + "Sperrylite");
        this.blockIcons[8] = reg.registerIcon(TEXTURE_PREFIX + "Trinium");
        this.blockIcon = this.blockIcons[0];
    }

    public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int metadata, int fortune)
    {
        ArrayList<ItemStack> ret = new ArrayList<ItemStack>();
        ret.add(OP.dust.mat(MT.STONES.SpaceRock, 1));
        ret.add(OP.crushed.mat(MATERIAL, 1));

        return ret;
    }

I can’t build the chain correctly (this is an example circuit):

    smallore1[metadata] = GT6_Material[material]
    MATERIAL = smallore1[metadata]
            ...
            ret.add(OP.crushed.mat(MATERIAl, 1));
            ...

I deeply apologize for the stupid questions and the inconvenience caused.
I hope after some time I will figure out how to do it.

2 Likes