|
void | init (Texture par1Texture, List par2List, int par3, int par4, int par5, int par6, boolean par7) |
|
void | copyFrom (TextureStitched par1TextureStitched) |
|
int | getOriginX () |
|
int | getOriginY () |
|
float | getMinU () |
|
float | getMaxU () |
|
float | getInterpolatedU (double par1) |
|
float | getMinV () |
|
float | getMaxV () |
|
float | getInterpolatedV (double par1) |
|
String | getIconName () |
|
int | getSheetWidth () |
|
int | getSheetHeight () |
|
void | updateAnimation () |
|
void | readAnimationInfo (BufferedReader par1BufferedReader) |
|
void | createAndUploadTextures () |
|
boolean | loadTexture (TextureManager manager, ITexturePack texturepack, String name, String fileName, BufferedImage image, ArrayList textures) |
|
net.minecraft.client.renderer.texture.TextureStitched.TextureStitched |
( |
String |
par1) | |
|
|
protected |
void net.minecraft.client.renderer.texture.TextureStitched.copyFrom |
( |
TextureStitched |
par1TextureStitched) | |
|
void net.minecraft.client.renderer.texture.TextureStitched.createAndUploadTextures |
( |
) | |
|
String net.minecraft.client.renderer.texture.TextureStitched.getIconName |
( |
) | |
|
float net.minecraft.client.renderer.texture.TextureStitched.getInterpolatedU |
( |
double |
par1) | |
|
Gets a U coordinate on the icon. 0 returns uMin and 16 returns uMax. Other arguments return in-between values.
Implements net.minecraft.util.Icon.
float net.minecraft.client.renderer.texture.TextureStitched.getInterpolatedV |
( |
double |
par1) | |
|
Gets a V coordinate on the icon. 0 returns vMin and 16 returns vMax. Other arguments return in-between values.
Implements net.minecraft.util.Icon.
float net.minecraft.client.renderer.texture.TextureStitched.getMaxU |
( |
) | |
|
float net.minecraft.client.renderer.texture.TextureStitched.getMaxV |
( |
) | |
|
float net.minecraft.client.renderer.texture.TextureStitched.getMinU |
( |
) | |
|
float net.minecraft.client.renderer.texture.TextureStitched.getMinV |
( |
) | |
|
int net.minecraft.client.renderer.texture.TextureStitched.getOriginX |
( |
) | |
|
int net.minecraft.client.renderer.texture.TextureStitched.getOriginY |
( |
) | |
|
int net.minecraft.client.renderer.texture.TextureStitched.getSheetHeight |
( |
) | |
|
int net.minecraft.client.renderer.texture.TextureStitched.getSheetWidth |
( |
) | |
|
void net.minecraft.client.renderer.texture.TextureStitched.init |
( |
Texture |
par1Texture, |
|
|
List |
par2List, |
|
|
int |
par3, |
|
|
int |
par4, |
|
|
int |
par5, |
|
|
int |
par6, |
|
|
boolean |
par7 |
|
) |
| |
boolean net.minecraft.client.renderer.texture.TextureStitched.loadTexture |
( |
TextureManager |
manager, |
|
|
ITexturePack |
texturepack, |
|
|
String |
name, |
|
|
String |
fileName, |
|
|
BufferedImage |
image, |
|
|
ArrayList |
textures |
|
) |
| |
Called when texture packs are refreshed, from TextureManager.createNewTexture, allows for finer control over loading the animation lists and verification of the image. If the return value from this is true, no further loading will be done by vanilla code.
You need to add all Texture's to the textures argument. At the end of this function at least one entry should be in that argument, or a error should of been thrown.
- Parameters
-
manager | The invoking manager |
texturepack | Current texture pack |
name | The name of the texture |
fileName | Resource path for this texture |
image | Buffered image of the loaded resource |
textures | ArrayList of element type Texture, split textures should be added to this list for the stitcher to handle. |
- Returns
- Return true to skip further vanilla texture loading for this texture
static TextureStitched net.minecraft.client.renderer.texture.TextureStitched.makeTextureStitched |
( |
String |
par0Str) | |
|
|
static |
void net.minecraft.client.renderer.texture.TextureStitched.readAnimationInfo |
( |
BufferedReader |
par1BufferedReader) | |
|
void net.minecraft.client.renderer.texture.TextureStitched.updateAnimation |
( |
) | |
|
int net.minecraft.client.renderer.texture.TextureStitched.frameCounter = 0 |
|
protected |
int net.minecraft.client.renderer.texture.TextureStitched.originX |
|
protected |
x position of this icon on the texture sheet in pixels
int net.minecraft.client.renderer.texture.TextureStitched.originY |
|
protected |
y position of this icon on the texture sheet in pixels
boolean net.minecraft.client.renderer.texture.TextureStitched.rotated |
|
protected |
List net.minecraft.client.renderer.texture.TextureStitched.textureList |
|
protected |
Texture net.minecraft.client.renderer.texture.TextureStitched.textureSheet |
|
protected |
texture sheet containing this texture
int net.minecraft.client.renderer.texture.TextureStitched.tickCounter = 0 |
|
protected |
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/net/minecraft/client/renderer/texture/TextureStitched.java