Class AnimationResourceMetadata
java.lang.Object
net.minecraft.client.resource.metadata.AnimationResourceMetadata
- Mappings:
Namespace Name official fvtintermediary net/minecraft/class_1079named net/minecraft/client/resource/metadata/AnimationResourceMetadata
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intstatic final AnimationResourceMetadatastatic final intprivate final List<AnimationFrameResourceMetadata>private final intprivate final booleanstatic final Stringstatic final AnimationResourceMetadataReaderstatic final intprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionAnimationResourceMetadata(List<AnimationFrameResourceMetadata> frames, int width, int height, int defaultFrameTime, boolean interpolate) -
Method Summary
-
Field Details
-
READER
- Mappings:
Namespace Name Mixin selector official aLfvt;a:Lfvu;intermediary field_5337Lnet/minecraft/class_1079;field_5337:Lnet/minecraft/class_1081;named READERLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;READER:Lnet/minecraft/client/resource/metadata/AnimationResourceMetadataReader;
-
KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official bLfvt;b:Ljava/lang/String;intermediary field_32974Lnet/minecraft/class_1079;field_32974:Ljava/lang/String;named KEYLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;KEY:Ljava/lang/String;
-
EMPTY_FRAME_TIME
public static final int EMPTY_FRAME_TIME- See Also:
- Mappings:
Namespace Name Mixin selector official cLfvt;c:Iintermediary field_32975Lnet/minecraft/class_1079;field_32975:Inamed EMPTY_FRAME_TIMELnet/minecraft/client/resource/metadata/AnimationResourceMetadata;EMPTY_FRAME_TIME:I
-
UNDEFINED
public static final int UNDEFINED- See Also:
- Mappings:
Namespace Name Mixin selector official dLfvt;d:Iintermediary field_32976Lnet/minecraft/class_1079;field_32976:Inamed UNDEFINEDLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;UNDEFINED:I
-
EMPTY
- Mappings:
Namespace Name Mixin selector official eLfvt;e:Lfvt;intermediary field_21768Lnet/minecraft/class_1079;field_21768:Lnet/minecraft/class_1079;named EMPTYLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;EMPTY:Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;
-
frames
- Mappings:
Namespace Name Mixin selector official fLfvt;f:Ljava/util/List;intermediary field_5339Lnet/minecraft/class_1079;field_5339:Ljava/util/List;named framesLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;frames:Ljava/util/List;
-
width
private final int width- Mappings:
Namespace Name Mixin selector official gLfvt;g:Iintermediary field_5338Lnet/minecraft/class_1079;field_5338:Inamed widthLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;width:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector official hLfvt;h:Iintermediary field_5336Lnet/minecraft/class_1079;field_5336:Inamed heightLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;height:I
-
defaultFrameTime
private final int defaultFrameTime- Mappings:
Namespace Name Mixin selector official iLfvt;i:Iintermediary field_5334Lnet/minecraft/class_1079;field_5334:Inamed defaultFrameTimeLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;defaultFrameTime:I
-
interpolate
private final boolean interpolate- Mappings:
Namespace Name Mixin selector official jLfvt;j:Zintermediary field_5335Lnet/minecraft/class_1079;field_5335:Znamed interpolateLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;interpolate:Z
-
-
Constructor Details
-
AnimationResourceMetadata
public AnimationResourceMetadata(List<AnimationFrameResourceMetadata> frames, int width, int height, int defaultFrameTime, boolean interpolate) - Mappings:
Namespace Name Mixin selector official <init>Lfvt;<init>(Ljava/util/List;IIIZ)Vintermediary <init>Lnet/minecraft/class_1079;<init>(Ljava/util/List;IIIZ)Vnamed <init>Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata;<init>(Ljava/util/List;IIIZ)V
-
-
Method Details
-
getSize
- Mappings:
Namespace Name Mixin selector official aLfvt;a(II)Lfvv;intermediary method_24143Lnet/minecraft/class_1079;method_24143(II)Lnet/minecraft/class_7771;named getSizeLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;getSize(II)Lnet/minecraft/client/texture/SpriteDimensions;
-
getDefaultFrameTime
public int getDefaultFrameTime()- Mappings:
Namespace Name Mixin selector official aLfvt;a()Iintermediary method_4684Lnet/minecraft/class_1079;method_4684()Inamed getDefaultFrameTimeLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;getDefaultFrameTime()I
-
shouldInterpolate
public boolean shouldInterpolate()- Mappings:
Namespace Name Mixin selector official bLfvt;b()Zintermediary method_4685Lnet/minecraft/class_1079;method_4685()Znamed shouldInterpolateLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;shouldInterpolate()Z
-
forEachFrame
- Mappings:
Namespace Name Mixin selector official aLfvt;a(Lfvt$a;)Vintermediary method_33460Lnet/minecraft/class_1079;method_33460(Lnet/minecraft/class_1079$class_5792;)Vnamed forEachFrameLnet/minecraft/client/resource/metadata/AnimationResourceMetadata;forEachFrame(Lnet/minecraft/client/resource/metadata/AnimationResourceMetadata$FrameConsumer;)V
-