YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.util.Icon Interface Reference
Inheritance diagram for net.minecraft.util.Icon:
net.minecraft.client.renderer.IconFlipped net.minecraft.client.renderer.texture.TextureStitched net.minecraft.client.renderer.texture.TextureClock net.minecraft.client.renderer.texture.TextureCompass

Public Member Functions

int getOriginX ()
 
int getOriginY ()
 
float getMinU ()
 
float getMaxU ()
 
float getInterpolatedU (double d0)
 
float getMinV ()
 
float getMaxV ()
 
float getInterpolatedV (double d0)
 
String getIconName ()
 
int getSheetWidth ()
 
int getSheetHeight ()
 

Member Function Documentation

String net.minecraft.util.Icon.getIconName ( )
float net.minecraft.util.Icon.getInterpolatedU ( double  d0)

Gets a U coordinate on the icon. 0 returns uMin and 16 returns uMax. Other arguments return in-between values.

Implemented in net.minecraft.client.renderer.texture.TextureStitched, and net.minecraft.client.renderer.IconFlipped.

float net.minecraft.util.Icon.getInterpolatedV ( double  d0)

Gets a V coordinate on the icon. 0 returns vMin and 16 returns vMax. Other arguments return in-between values.

Implemented in net.minecraft.client.renderer.texture.TextureStitched, and net.minecraft.client.renderer.IconFlipped.

float net.minecraft.util.Icon.getMaxU ( )

Returns the maximum U coordinate to use when rendering with this icon.

Implemented in net.minecraft.client.renderer.texture.TextureStitched, and net.minecraft.client.renderer.IconFlipped.

float net.minecraft.util.Icon.getMaxV ( )

Returns the maximum V coordinate to use when rendering with this icon.

Implemented in net.minecraft.client.renderer.texture.TextureStitched, and net.minecraft.client.renderer.IconFlipped.

float net.minecraft.util.Icon.getMinU ( )

Returns the minimum U coordinate to use when rendering with this icon.

Implemented in net.minecraft.client.renderer.texture.TextureStitched, and net.minecraft.client.renderer.IconFlipped.

float net.minecraft.util.Icon.getMinV ( )

Returns the minimum V coordinate to use when rendering with this icon.

Implemented in net.minecraft.client.renderer.texture.TextureStitched, and net.minecraft.client.renderer.IconFlipped.

int net.minecraft.util.Icon.getOriginX ( )

Returns the X position of this icon on its texture sheet, in pixels.

Implemented in net.minecraft.client.renderer.texture.TextureStitched, and net.minecraft.client.renderer.IconFlipped.

int net.minecraft.util.Icon.getOriginY ( )

Returns the Y position of this icon on its texture sheet, in pixels.

Implemented in net.minecraft.client.renderer.texture.TextureStitched, and net.minecraft.client.renderer.IconFlipped.

int net.minecraft.util.Icon.getSheetHeight ( )

Returns the height of the texture sheet this icon is on, in pixels.

Implemented in net.minecraft.client.renderer.texture.TextureStitched, and net.minecraft.client.renderer.IconFlipped.

int net.minecraft.util.Icon.getSheetWidth ( )

Returns the width of the texture sheet this icon is on, in pixels.

Implemented in net.minecraft.client.renderer.texture.TextureStitched, and net.minecraft.client.renderer.IconFlipped.


The documentation for this interface was generated from the following file: