001 /*
002 * The FML Forge Mod Loader suite.
003 * Copyright (C) 2012 cpw
004 *
005 * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free
006 * Software Foundation; either version 2.1 of the License, or any later version.
007 *
008 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
009 * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
010 *
011 * You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51
012 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
013 */
014
015 package cpw.mods.fml.client;
016
017 import java.awt.Dimension;
018
019 import net.minecraft.client.renderer.RenderEngine;
020 import net.minecraft.client.texturepacks.ITexturePack;
021
022 public interface ITextureFX
023 {
024 public void onTexturePackChanged(RenderEngine engine, ITexturePack texturepack, Dimension dimensions);
025
026 public void onTextureDimensionsUpdate(int width, int height);
027
028 public void setErrored(boolean errored);
029
030 public boolean getErrored();
031 }