public static final class TextureAtlasSprite.Info
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private AnimationMetadataSection |
spriteAnimationMetadata |
private int |
spriteHeight |
private ResourceLocation |
spriteLocation |
private int |
spriteWidth |
Constructor and Description |
---|
Info(ResourceLocation locationIn,
int widthIn,
int heightIn,
AnimationMetadataSection animationMetadataIn) |
Modifier and Type | Method and Description |
---|---|
int |
getSpriteHeight() |
ResourceLocation |
getSpriteLocation() |
int |
getSpriteWidth() |
private final ResourceLocation spriteLocation
private final int spriteWidth
private final int spriteHeight
private final AnimationMetadataSection spriteAnimationMetadata
public Info(ResourceLocation locationIn, int widthIn, int heightIn, AnimationMetadataSection animationMetadataIn)
public ResourceLocation getSpriteLocation()
public int getSpriteWidth()
public int getSpriteHeight()