AE2 First Commit, the dawn of 1.7 hast arrived.

This commit is contained in:
algorithmx2
2013-12-27 16:59:59 -06:00
commit e9acdcbee2
468 changed files with 47440 additions and 0 deletions
+81
View File
@@ -0,0 +1,81 @@
package appeng.client.texture;
import net.minecraft.util.Icon;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class FullIcon implements Icon
{
private Icon p;
public FullIcon(Icon o) {
p = o;
}
@Override
@SideOnly(Side.CLIENT)
public float getMinU()
{
return p.getMinU();
}
@Override
@SideOnly(Side.CLIENT)
public float getMaxU()
{
return p.getMaxU();
}
@Override
@SideOnly(Side.CLIENT)
public float getInterpolatedU(double d0)
{
if ( d0 > 8.0 )
return p.getMaxU();
return p.getMinU();
}
@Override
@SideOnly(Side.CLIENT)
public float getMinV()
{
return p.getMinV();
}
@Override
@SideOnly(Side.CLIENT)
public float getMaxV()
{
return p.getMaxV();
}
@Override
@SideOnly(Side.CLIENT)
public float getInterpolatedV(double d0)
{
if ( d0 > 8.0 )
return p.getMaxV();
return p.getMinV();
}
@Override
@SideOnly(Side.CLIENT)
public String getIconName()
{
return p.getIconName();
}
@Override
public int getIconWidth()
{
return p.getIconWidth();
}
@Override
public int getIconHeight()
{
return p.getIconHeight();
}
}