package net.minecraft.client.resources;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import java.io.IOException;
import net.minecraft.client.renderer.texture.TextureUtil;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.ColorizerFoliage;

@SideOnly(Side.CLIENT)
public class FoliageColorReloadListener implements IResourceManagerReloadListener
{
	private static final ResourceLocation field_130079_a = new ResourceLocation("textures/colormap/foliage.png");
	private static final String __OBFID = "CL_00001077";

	public void onResourceManagerReload(IResourceManager par1ResourceManager)
	{
		try
		{
			ColorizerFoliage.setFoliageBiomeColorizer(TextureUtil.readImageData(par1ResourceManager, field_130079_a));
		}
		catch (IOException ioexception)
		{
			;
		}
	}
}