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:
The loader can be specified in the corresponding .mcmeta file for a texture as follows:
{ "forge": { "loader": "examplemod:example_tas_loader" } }
-
Method Summary
Modifier and TypeMethodDescriptionload
(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 Details
-
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.
-