I already have it overriden in my Block class:
@SideOnly(Side.CLIENT)
@Override
public void getSubBlocks(Item item, CreativeTabs creativeTab, List<ItemStack> itemStacks) {
for (Ores ore : Ores.VARIANTS) {
itemStacks.add(new ItemStack(BlockUtils.getItemBlockFor(this), 1, ore.getMeta()));
}
}
and this is the getItemBlockFor() function:
public static ItemBlock getItemBlockFor(Block block) {
return block instanceof BlockEthMeta ? new ItemBlockMeta(block) : new ItemBlock(block);
}
ItemBlockMeta is just an extension of ItemBlock that I do my custom unlocalized namings and setHasSubtypes(true)
Edit: NVM I solved it thanks for helping, it turns out BlockEthMeta didn't have the getSubBlocks method to be overriden from BlockEthMetaOre. Thanks
I'll leave the code up for reference if anyone needs but you can lock the thread.