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
- Mappings:
Namespace Name official eru$c
intermediary net/minecraft/class_1058$class_4727
named net/minecraft/client/texture/Sprite$Info
-
Field Summary
Fields Modifier and Type Field Description private AnimationResourceMetadata
animationData
private int
height
private Identifier
id
private int
width
-
Constructor Summary
Constructors Constructor Description Info(Identifier id, int width, int height, AnimationResourceMetadata animationData)
-
Method Summary
Modifier and Type Method Description int
getHeight()
Identifier
getId()
int
getWidth()
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official a
Leru$c;a:Lwb;
intermediary field_21753
Lnet/minecraft/class_1058$class_4727;field_21753:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/client/texture/Sprite$Info;id:Lnet/minecraft/util/Identifier;
-
width
private final int width- Mappings:
Namespace Name Mixin selector official b
Leru$c;b:I
intermediary field_21754
Lnet/minecraft/class_1058$class_4727;field_21754:I
named width
Lnet/minecraft/client/texture/Sprite$Info;width:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector official c
Leru$c;c:I
intermediary field_21755
Lnet/minecraft/class_1058$class_4727;field_21755:I
named height
Lnet/minecraft/client/texture/Sprite$Info;height:I
-
animationData
- Mappings:
Namespace Name Mixin selector official d
Leru$c;d:Lesu;
intermediary field_21756
Lnet/minecraft/class_1058$class_4727;field_21756:Lnet/minecraft/class_1079;
named animationData
Lnet/minecraft/client/texture/Sprite$Info;animationData:Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;
-
-
Constructor Details
-
Info
- Mappings:
Namespace Name Mixin selector official <init>
Leru$c;<init>(Lwb;IILesu;)V
intermediary <init>
Lnet/minecraft/class_1058$class_4727;<init>(Lnet/minecraft/class_2960;IILnet/minecraft/class_1079;)V
named <init>
Lnet/minecraft/client/texture/Sprite$Info;<init>(Lnet/minecraft/util/Identifier;IILnet/minecraft/client/resource/metadata/AnimationResourceMetadata;)V
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official a
Leru$c;a()Lwb;
intermediary method_24121
Lnet/minecraft/class_1058$class_4727;method_24121()Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/client/texture/Sprite$Info;getId()Lnet/minecraft/util/Identifier;
-
getWidth
public int getWidth()- Mappings:
Namespace Name Mixin selector official b
Leru$c;b()I
intermediary method_24123
Lnet/minecraft/class_1058$class_4727;method_24123()I
named getWidth
Lnet/minecraft/client/texture/Sprite$Info;getWidth()I
-
getHeight
public int getHeight()- Mappings:
Namespace Name Mixin selector official c
Leru$c;c()I
intermediary method_24125
Lnet/minecraft/class_1058$class_4727;method_24125()I
named getHeight
Lnet/minecraft/client/texture/Sprite$Info;getHeight()I
-