YATS/Forge Documentation
|
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 () |
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.