Interface ITextureAtlasSpriteLoader
-
- All Known Implementing Classes:
CustomTASTest.TasLoader
public interface ITextureAtlasSpriteLoader
A loader for custom TextureAtlasSprite implementations.
The loader can be specified in the corresponding .mcmeta file for a texture as follows:{ "forge": { "loader": "examplemod:example_tas_loader" } }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TextureAtlasSprite
load(AtlasTexture atlas, IResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, IResource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image)
Load a TextureAtlasSprite for the given resource.
-
-
-
Method Detail
-
load
@Nonnull TextureAtlasSprite load(AtlasTexture atlas, IResourceManager resourceManager, TextureAtlasSprite.Info textureInfo, IResource resource, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel, NativeImage image)
Load a TextureAtlasSprite for the given resource.
-
-