Class CustomSpriteSourceTest.CustomSpriteSource.CustomSpriteContents
java.lang.Object
net.minecraft.client.renderer.texture.SpriteContents
net.neoforged.neoforge.oldtest.client.CustomSpriteSourceTest.CustomSpriteSource.CustomSpriteContents
- All Implemented Interfaces:
AutoCloseable
,Stitcher.Entry
- Enclosing class:
CustomSpriteSourceTest.CustomSpriteSource
static final class CustomSpriteSourceTest.CustomSpriteSource.CustomSpriteContents
extends SpriteContents
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.texture.SpriteContents
byMipLevel
-
Constructor Summary
ConstructorDescriptionCustomSpriteContents
(ResourceLocation name, FrameSize size, NativeImage image, ResourceMetadata metadata) -
Method Summary
Methods inherited from class net.minecraft.client.renderer.texture.SpriteContents
close, getOriginalImage, getUniqueFrames, height, increaseMipLevel, isTransparent, metadata, name, toString, uploadFirstFrame, width
-
Constructor Details
-
CustomSpriteContents
public CustomSpriteContents(ResourceLocation name, FrameSize size, NativeImage image, ResourceMetadata metadata)
-
-
Method Details
-
createTicker
- Overrides:
createTicker
in classSpriteContents
-