public static void registerOreGen(ResourceLocation id,IBlockState ore,IBlockState[] replaceables,int veinSize,int minY,int maxY,int[] dimensions,int attempts){
  List<IBlockState> replaceableList=Arrays.asList(replaceables);
  WorldGenMinable generator=new WorldGenMinable(ore,veinSize,null);
  registerWorldGen(id,null);
}

public static void registerOreGen ( ResourceLocation id , IBlockState ore , IBlockState [ ] replaceables , int veinSize , int minY , int maxY , int [ ] dimensions , int attempts ) { List < IBlockState > replaceableList = Arrays . asList ( replaceables ) ; WorldGenMinable generator = new WorldGenMinable ( ore , veinSize , null ) ; registerWorldGen ( id , null ) ; }
registers an ore generator to the world generator registry .
