public interface SpritePreparationContext
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.ResourceLocation |
getIdentifier()
Gets the identifier of the texture.
|
int |
getOriginalFrameHeight()
Gets the original frame height as calculated by vanilla.
|
default Pair<java.lang.Integer,java.lang.Integer> |
getOriginalFrameSize()
Gets the original frame size as calculated by vanilla.
|
int |
getOriginalFrameWith()
Gets the original frame width as calculated by vanilla.
|
int |
getTextureHeight()
Gets the height of the texture.
|
int |
getTextureWidth()
Gets the width of the texture.
|
int getOriginalFrameWith()
int getOriginalFrameHeight()
default Pair<java.lang.Integer,java.lang.Integer> getOriginalFrameSize()
int getTextureWidth()
int getTextureHeight()
net.minecraft.util.ResourceLocation getIdentifier()