Package net.minecraft.client.texture
Class Sprite.Info
java.lang.Object
net.minecraft.client.texture.Sprite.Info
- Enclosing class:
- Sprite
@Environment(CLIENT) public static final class Sprite.Info extends Object
-
Field Summary
Fields Modifier and Type Field Description private AnimationResourceMetadataanimationDataprivate intheightprivate Identifieridprivate intwidth -
Constructor Summary
Constructors Constructor Description Info(Identifier id, int width, int height, AnimationResourceMetadata animationData) -
Method Summary
Modifier and Type Method Description intgetHeight()IdentifiergetId()intgetWidth()
-
Field Details
-
id
-
width
private final int width -
height
private final int height -
animationData
-
-
Constructor Details
-
Info
-
-
Method Details
-
getId
-
getWidth
public int getWidth() -
getHeight
public int getHeight()
-