package net.minecraft.client.resources;

/**+
 * This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code.
 * 
 * Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!"
 * Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team
 * 
 * EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved.
 * 
 * WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES
 * NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED
 * TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE
 * SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR.
 * 
 * NOT FOR COMMERCIAL OR MALICIOUS USE
 * 
 * (please read the 'LICENSE' file this repo's root directory for more info) 
 * 
 */
public class ResourceIndex {
	// private static final Logger logger = LogManager.getLogger();
	// private final Map<String, File> resourceMap = Maps.newHashMap();

	// public ResourceIndex(File parFile, String parString1) {
	/*
	 * if (parString1 != null) { File file1 = new File(parFile, "objects"); File
	 * file2 = new File(parFile, "indexes/" + parString1 + ".json"); BufferedReader
	 * bufferedreader = null;
	 * 
	 * try { bufferedreader = Files.newReader(file2, Charsets.UTF_8); JsonObject
	 * jsonobject = (new JsonParser()).parse(bufferedreader).getAsJsonObject();
	 * JsonObject jsonobject1 = JsonUtils.getJsonObject(jsonobject, "objects",
	 * (JsonObject) null); if (jsonobject1 != null) { for (Entry entry :
	 * jsonobject1.entrySet()) { JsonObject jsonobject2 = (JsonObject)
	 * entry.getValue(); String s = (String) entry.getKey(); String[] astring =
	 * s.split("/", 2); String s1 = astring.length == 1 ? astring[0] : astring[0] +
	 * ":" + astring[1]; String s2 = JsonUtils.getString(jsonobject2, "hash"); File
	 * file3 = new File(file1, s2.substring(0, 2) + "/" + s2);
	 * this.resourceMap.put(s1, file3); } } } catch (JsonParseException var20) {
	 * logger.error("Unable to parse resource index file: " + file2); } catch
	 * (FileNotFoundException var21) {
	 * logger.error("Can\'t find the resource index file: " + file2); } finally {
	 * IOUtils.closeQuietly(bufferedreader); }
	 * 
	 * }
	 */
	// }

	// public Map<String, File> getResourceMap() {
	// return this.resourceMap;
	// }
}