Class AnimationResourceMetadata
java.lang.Object
net.minecraft.client.resource.metadata.AnimationResourceMetadata
- Mappings:
Namespace Name named net/minecraft/client/resource/metadata/AnimationResourceMetadata
intermediary net/minecraft/class_1079
official hcw
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
static final AnimationResourceMetadata
static final int
private final List
<AnimationFrameResourceMetadata> private final int
private final boolean
static final String
static final AnimationResourceMetadataReader
static final int
private final int
-
Constructor Summary
ConstructorDescriptionAnimationResourceMetadata
(List<AnimationFrameResourceMetadata> frames, int width, int height, int defaultFrameTime, boolean interpolate) -
Method Summary
-
Field Details
-
READER
- Mappings:
Namespace Name Mixin selector named READER
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;READER:Lnet/minecraft/client/resource/metadata/AnimationResourceMetadataReader;
intermediary field_5337
Lnet/minecraft/class_1079;field_5337:Lnet/minecraft/class_1081;
official a
Lhcw;a:Lhcx;
-
KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named KEY
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;KEY:Ljava/lang/String;
intermediary field_32974
Lnet/minecraft/class_1079;field_32974:Ljava/lang/String;
official b
Lhcw;b:Ljava/lang/String;
-
EMPTY_FRAME_TIME
public static final int EMPTY_FRAME_TIME- See Also:
- Mappings:
Namespace Name Mixin selector named EMPTY_FRAME_TIME
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;EMPTY_FRAME_TIME:I
intermediary field_32975
Lnet/minecraft/class_1079;field_32975:I
official c
Lhcw;c:I
-
UNDEFINED
public static final int UNDEFINED- See Also:
- Mappings:
Namespace Name Mixin selector named UNDEFINED
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;UNDEFINED:I
intermediary field_32976
Lnet/minecraft/class_1079;field_32976:I
official d
Lhcw;d:I
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTY
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;EMPTY:Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;
intermediary field_21768
Lnet/minecraft/class_1079;field_21768:Lnet/minecraft/class_1079;
official e
Lhcw;e:Lhcw;
-
frames
- Mappings:
Namespace Name Mixin selector named frames
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;frames:Ljava/util/List;
intermediary field_5339
Lnet/minecraft/class_1079;field_5339:Ljava/util/List;
official f
Lhcw;f:Ljava/util/List;
-
width
private final int width- Mappings:
Namespace Name Mixin selector named width
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;width:I
intermediary field_5338
Lnet/minecraft/class_1079;field_5338:I
official g
Lhcw;g:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector named height
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;height:I
intermediary field_5336
Lnet/minecraft/class_1079;field_5336:I
official h
Lhcw;h:I
-
defaultFrameTime
private final int defaultFrameTime- Mappings:
Namespace Name Mixin selector named defaultFrameTime
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;defaultFrameTime:I
intermediary field_5334
Lnet/minecraft/class_1079;field_5334:I
official i
Lhcw;i:I
-
interpolate
private final boolean interpolate- Mappings:
Namespace Name Mixin selector named interpolate
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;interpolate:Z
intermediary field_5335
Lnet/minecraft/class_1079;field_5335:Z
official j
Lhcw;j:Z
-
-
Constructor Details
-
AnimationResourceMetadata
public AnimationResourceMetadata(List<AnimationFrameResourceMetadata> frames, int width, int height, int defaultFrameTime, boolean interpolate) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;<init>(Ljava/util/List;IIIZ)V
intermediary <init>
Lnet/minecraft/class_1079;<init>(Ljava/util/List;IIIZ)V
official <init>
Lhcw;<init>(Ljava/util/List;IIIZ)V
-
-
Method Details
-
getSize
- Mappings:
Namespace Name Mixin selector named getSize
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;getSize(II)Lnet/minecraft/client/texture/SpriteDimensions;
intermediary method_24143
Lnet/minecraft/class_1079;method_24143(II)Lnet/minecraft/class_7771;
official a
Lhcw;a(II)Lhcy;
-
getDefaultFrameTime
public int getDefaultFrameTime()- Mappings:
Namespace Name Mixin selector named getDefaultFrameTime
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;getDefaultFrameTime()I
intermediary method_4684
Lnet/minecraft/class_1079;method_4684()I
official a
Lhcw;a()I
-
shouldInterpolate
public boolean shouldInterpolate()- Mappings:
Namespace Name Mixin selector named shouldInterpolate
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;shouldInterpolate()Z
intermediary method_4685
Lnet/minecraft/class_1079;method_4685()Z
official b
Lhcw;b()Z
-
forEachFrame
- Mappings:
Namespace Name Mixin selector named forEachFrame
Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;forEachFrame(Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata$FrameConsumer;)V
intermediary method_33460
Lnet/minecraft/class_1079;method_33460(Lnet/minecraft/class_1079$class_5792;)V
official a
Lhcw;a(Lhcw$a;)V
-