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
-
Method Summary
Modifier and TypeMethodDescriptionloadContents
(ResourceLocation name, Resource resource, FrameSize frameSize, NativeImage image, AnimationMetadataSection animationMeta, ForgeTextureMetadata forgeMeta) @NotNull TextureAtlasSprite
makeSprite
(ResourceLocation atlasName, SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel) Creates aTextureAtlasSprite
from 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:
loadContents
in 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:ITextureAtlasSpriteLoader
Creates aTextureAtlasSprite
from the givenSpriteContents
.- Specified by:
makeSprite
in interfaceITextureAtlasSpriteLoader
-