Package net.minecraft.src
Interface Icon
- All Known Implementing Classes:
ArcaneVesselXPTexture,BorderedTexture,FireTexture,IconFlipped,StokedFireTexture,TextureAtlasSprite,TextureClock,TextureCompass
public interface Icon
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the height of the icon, in pixels.intReturns the width of the icon, in pixels.floatgetInterpolatedU(double var1) Gets a U coordinate on the icon. 0 returns uMin and 16 returns uMax.floatgetInterpolatedV(double var1) 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.default intdefault int
-
Method Details
-
getIconWidth
int getIconWidth()Returns the width of the icon, in pixels. -
getIconHeight
int getIconHeight()Returns the height of the icon, in pixels. -
getMinU
float getMinU()Returns the minimum U coordinate to use when rendering with this icon. -
getMaxU
float getMaxU()Returns the maximum U coordinate to use when rendering with this icon. -
getInterpolatedU
float getInterpolatedU(double var1) Gets a U coordinate on the icon. 0 returns uMin and 16 returns uMax. Other arguments return in-between values. -
getMinV
float getMinV()Returns the minimum V coordinate to use when rendering with this icon. -
getMaxV
float getMaxV()Returns the maximum V coordinate to use when rendering with this icon. -
getInterpolatedV
float getInterpolatedV(double var1) Gets a V coordinate on the icon. 0 returns vMin and 16 returns vMax. Other arguments return in-between values. -
getIconName
String getIconName() -
getOriginX
default int getOriginX() -
getOriginY
default int getOriginY()
-