Package net.minecraft.src
Class IconFlipped
java.lang.Object
net.minecraft.src.IconFlipped
- All Implemented Interfaces:
Icon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the height of the icon, in pixels.intReturns the width of the icon, in pixels.floatgetInterpolatedU(double par1) Gets a U coordinate on the icon. 0 returns uMin and 16 returns uMax.floatgetInterpolatedV(double par1) Gets a V coordinate on the icon. 0 returns vMin and 16 returns vMax.floatgetMaxU()Returns the maximum U coordinate to use when rendering with this icon.floatgetMaxV()Returns the maximum V coordinate to use when rendering with this icon.floatgetMinU()Returns the minimum U coordinate to use when rendering with this icon.floatgetMinV()Returns the minimum V coordinate to use when rendering with this icon.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.src.Icon
getOriginX, getOriginY
-
Constructor Details
-
IconFlipped
-
-
Method Details
-
getIconWidth
public int getIconWidth()Returns the width of the icon, in pixels.- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()Returns the height of the icon, in pixels.- Specified by:
getIconHeightin interfaceIcon
-
getMinU
public float getMinU()Returns the minimum U coordinate to use when rendering with this icon. -
getMaxU
public float getMaxU()Returns the maximum U coordinate to use when rendering with this icon. -
getInterpolatedU
public float getInterpolatedU(double par1) Gets a U coordinate on the icon. 0 returns uMin and 16 returns uMax. Other arguments return in-between values.- Specified by:
getInterpolatedUin interfaceIcon
-
getMinV
public float getMinV()Returns the minimum V coordinate to use when rendering with this icon. -
getMaxV
public float getMaxV()Returns the maximum V coordinate to use when rendering with this icon. -
getInterpolatedV
public float getInterpolatedV(double par1) Gets a V coordinate on the icon. 0 returns vMin and 16 returns vMax. Other arguments return in-between values.- Specified by:
getInterpolatedVin interfaceIcon
-
getIconName
- Specified by:
getIconNamein interfaceIcon
-