Class AnimationFrameResourceMetadata

java.lang.Object
net.minecraft.client.resource.metadata.AnimationFrameResourceMetadata

@Environment(CLIENT) public class AnimationFrameResourceMetadata extends Object
Mappings:
Namespace Name
official fab
intermediary net/minecraft/class_1080
named net/minecraft/client/resource/metadata/AnimationFrameResourceMetadata
  • Field Details

    • UNDEFINED_TIME

      public static final int UNDEFINED_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lfab;a:I
      intermediary field_32973 Lnet/minecraft/class_1080;field_32973:I
      named UNDEFINED_TIME Lnet/minecraft/client/resource/metadata/AnimationFrameResourceMetadata;UNDEFINED_TIME:I
    • index

      private final int index
      Mappings:
      Namespace Name Mixin selector
      official b Lfab;b:I
      intermediary field_5341 Lnet/minecraft/class_1080;field_5341:I
      named index Lnet/minecraft/client/resource/metadata/AnimationFrameResourceMetadata;index:I
    • time

      private final int time
      Mappings:
      Namespace Name Mixin selector
      official c Lfab;c:I
      intermediary field_5340 Lnet/minecraft/class_1080;field_5340:I
      named time Lnet/minecraft/client/resource/metadata/AnimationFrameResourceMetadata;time:I
  • Constructor Details

    • AnimationFrameResourceMetadata

      public AnimationFrameResourceMetadata(int index)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfab;<init>(I)V
      intermediary <init> Lnet/minecraft/class_1080;<init>(I)V
      named <init> Lnet/minecraft/client/resource/metadata/AnimationFrameResourceMetadata;<init>(I)V
    • AnimationFrameResourceMetadata

      public AnimationFrameResourceMetadata(int index, int time)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfab;<init>(II)V
      intermediary <init> Lnet/minecraft/class_1080;<init>(II)V
      named <init> Lnet/minecraft/client/resource/metadata/AnimationFrameResourceMetadata;<init>(II)V
  • Method Details

    • getTime

      public int getTime(int defaultTime)
      Mappings:
      Namespace Name Mixin selector
      official a Lfab;a(I)I
      intermediary method_4691 Lnet/minecraft/class_1080;method_4691(I)I
      named getTime Lnet/minecraft/client/resource/metadata/AnimationFrameResourceMetadata;getTime(I)I
    • getIndex

      public int getIndex()
      Mappings:
      Namespace Name Mixin selector
      official a Lfab;a()I
      intermediary method_4690 Lnet/minecraft/class_1080;method_4690()I
      named getIndex Lnet/minecraft/client/resource/metadata/AnimationFrameResourceMetadata;getIndex()I