question: public static void splitTextures ( File destination , File texturePack , double scale , boolean alphas , ProgressCallback progress ) throws Exception { if ( destination == null ) throw new IllegalArgumentException ( "destination cannot be null" ) ; Log . info ( "Exporting textures to \"" + destination + "\"" ) ; if ( ! destination . exists ( ) || ! destination . isDirectory ( ) ) { if ( destination . exists ( ) ) throw new RuntimeException ( "Cannot create texture directory! File is in the way!" ) ; if ( ! destination . mkdir ( ) ) throw new RuntimeException ( "Cannot create texture directory!" ) ; } getTextures ( texturePack , scale , progress , alphas , false , destination ) ; }
target:  Reads a Minecraft texture pack and splits the individual block textures into .png images.