public class TextureInfo
extends java.lang.Object
Constructor and Description |
---|
TextureInfo(net.minecraft.util.ResourceLocation location,
net.minecraft.client.renderer.texture.TextureAtlasSprite sprite,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
net.minecraft.util.ResourceLocation |
getLocation() |
int |
getSliceBottom() |
int |
getSliceLeft() |
int |
getSliceRight() |
int |
getSliceTop() |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
getSprite() |
int |
getTrimBottom() |
int |
getTrimLeft() |
int |
getTrimRight() |
int |
getTrimTop() |
int |
getWidth() |
TextureInfo |
slice(int left,
int right,
int top,
int bottom) |
TextureInfo |
trim(int left,
int right,
int top,
int bottom) |
public TextureInfo(net.minecraft.util.ResourceLocation location, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int width, int height)
public TextureInfo slice(int left, int right, int top, int bottom)
public TextureInfo trim(int left, int right, int top, int bottom)
public net.minecraft.util.ResourceLocation getLocation()
public net.minecraft.client.renderer.texture.TextureAtlasSprite getSprite()
public int getWidth()
public int getHeight()
public int getSliceLeft()
public int getSliceRight()
public int getSliceTop()
public int getSliceBottom()
public int getTrimLeft()
public int getTrimRight()
public int getTrimTop()
public int getTrimBottom()