Package net.minecraftforge.debug.client
Class CustomTASTest.TasLoader
java.lang.Object
net.minecraftforge.debug.client.CustomTASTest.TasLoader
- All Implemented Interfaces:
ITextureAtlasSpriteLoader
- Enclosing class:
- CustomTASTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadContents(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta) @NotNull TextureAtlasSpritemakeSprite(ResourceLocation atlasName, SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel) Creates aTextureAtlasSpritefrom the givenSpriteContents.
-
Constructor Details
-
TasLoader
private TasLoader()
-
-
Method Details
-
loadContents
public SpriteContents loadContents(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta) - Specified by:
loadContentsin interfaceITextureAtlasSpriteLoader
-
makeSprite
@NotNull public @NotNull TextureAtlasSprite makeSprite(ResourceLocation atlasName, SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel) Description copied from interface:ITextureAtlasSpriteLoaderCreates aTextureAtlasSpritefrom the givenSpriteContents.- Specified by:
makeSpritein interfaceITextureAtlasSpriteLoader
-