Interface ITextureAtlasSpriteLoader
- All Known Implementing Classes:
CustomTASTest.TasLoader
public interface ITextureAtlasSpriteLoader
A loader for custom texture atlas sprites.
The loader can be specified in the corresponding .mcmeta file for a texture as follows:
{
"forge": {
"loader": "examplemod:example_tas_loader"
}
}
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@NotNull TextureAtlasSpriteload(TextureAtlas atlas, ResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, Resource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image) Load aTextureAtlasSpritefor the given resource.
-
Method Details
-
load
@NotNull @NotNull TextureAtlasSprite load(TextureAtlas atlas, ResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, Resource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image) Load aTextureAtlasSpritefor the given resource.
-