public interface SpriteCreationContext
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.client.renderer.texture.TextureAtlasSprite |
createOriginalSprite()
Creates the sprite as if it were created by vanilla.
|
net.minecraft.client.renderer.texture.TextureMap |
getAtlas()
Gets the atlas which the sprite is stitched to.
|
int |
getAtlasHeight()
Gets the height of the texture.
|
int |
getAtlasWidth()
Gets the width of the atlas.
|
int |
getMipmapLevels()
Gets the configured number of mipmap levels.
|
int |
getSpriteHeight()
Gets the height of the sprite as allocated on the atlas.
|
int |
getSpritePositionX()
Gets the x-position of the sprite on the atlas.
|
int |
getSpritePositionY()
Gets the y-position of the sprite on the atlas.
|
int |
getSpriteWidth()
Gets the width of the sprite as allocated on the atlas.
|
java.util.List<int[][]> |
getTextureBuffers()
Gets the texture data.
|
int |
getTextureHeight()
Gets the height of the texture.
|
net.minecraft.util.ResourceLocation |
getTextureIdentifier()
Gets the identifier of the texture.
|
int |
getTextureWidth()
Gets the width of the texture.
|
net.minecraft.client.renderer.texture.TextureAtlasSprite createOriginalSprite()
int getTextureWidth()
int getTextureHeight()
net.minecraft.util.ResourceLocation getTextureIdentifier()
java.util.List<int[][]> getTextureBuffers()
int getAtlasWidth()
int getAtlasHeight()
net.minecraft.client.renderer.texture.TextureMap getAtlas()
int getSpritePositionX()
int getSpritePositionY()
int getSpriteWidth()
int getSpriteHeight()
int getMipmapLevels()