Interface SpritePreparationContext
- All Known Implementing Classes:
SpritePreparationContextImpl
public interface SpritePreparationContext
Created 28/04/2023 by SuperMartijn642
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationGets the identifier of the texture.intGets the original frame height as calculated by vanilla.Gets the original frame size as calculated by vanilla.intGets the original frame width as calculated by vanilla.intGets the height of the texture.intGets the width of the texture.
-
Method Details
-
getOriginalFrameWith
int getOriginalFrameWith()Gets the original frame width as calculated by vanilla. -
getOriginalFrameHeight
int getOriginalFrameHeight()Gets the original frame height as calculated by vanilla. -
getOriginalFrameSize
Gets the original frame size as calculated by vanilla. -
getTextureWidth
int getTextureWidth()Gets the width of the texture. -
getTextureHeight
int getTextureHeight()Gets the height of the texture. -
getIdentifier
net.minecraft.resources.ResourceLocation getIdentifier()Gets the identifier of the texture.
-