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 ezc$c
intermediary net/minecraft/class_1058$class_4727
named net/minecraft/client/texture/Sprite$Info
  • Field Details

    • id

      final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official a Lezc$c;a:Lyb;
      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

      final int width
      Mappings:
      Namespace Name Mixin selector
      official b Lezc$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

      final int height
      Mappings:
      Namespace Name Mixin selector
      official c Lezc$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

      final AnimationResourceMetadata animationData
      Mappings:
      Namespace Name Mixin selector
      official d Lezc$c;d:Lfac;
      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

      public Info(Identifier id, int width, int height, AnimationResourceMetadata animationData)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lezc$c;<init>(Lyb;IILfac;)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

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lezc$c;a()Lyb;
      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 Lezc$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 Lezc$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