Package net.minecraft.client.resource
Class AnimationMetadata
java.lang.Object
net.minecraft.client.resource.AnimationMetadata
- All Implemented Interfaces:
ResourceMetadataProvider
@Environment(CLIENT) public class AnimationMetadata extends Object implements ResourceMetadataProvider
- Mappings:
Namespace Name official boaintermediary net/minecraft/class_1278named net/minecraft/client/resource/AnimationMetadata
-
Field Summary
Fields Modifier and Type Field Description private intheightprivate booleaninterpolateprivate List<AnimationFrameResourceMetadata>metadataListprivate inttimeprivate intwidth -
Constructor Summary
Constructors Constructor Description AnimationMetadata(List<AnimationFrameResourceMetadata> metadataList, int width, int height, int time, boolean interpolate) -
Method Summary
Modifier and Type Method Description private AnimationFrameResourceMetadataget(int i)intgetHeight()intgetIndex(int i)Set<Integer>getIndices()intgetMetadataListSize()intgetTime()intgetTime(int i)intgetWidth()booleanmethod_4431(int i)booleanshouldInterpolate()
-
Field Details
-
metadataList
- Mappings:
Namespace Name Mixin selector official aLboa;a:Ljava/util/List;intermediary field_5316Lnet/minecraft/class_1278;field_5316:Ljava/util/List;named metadataListLnet/minecraft/client/resource/AnimationMetadata;metadataList:Ljava/util/List;
-
width
private final int width- Mappings:
Namespace Name Mixin selector official bLboa;b:Iintermediary field_5317Lnet/minecraft/class_1278;field_5317:Inamed widthLnet/minecraft/client/resource/AnimationMetadata;width:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector official cLboa;c:Iintermediary field_5318Lnet/minecraft/class_1278;field_5318:Inamed heightLnet/minecraft/client/resource/AnimationMetadata;height:I
-
time
private final int time- Mappings:
Namespace Name Mixin selector official dLboa;d:Iintermediary field_5319Lnet/minecraft/class_1278;field_5319:Inamed timeLnet/minecraft/client/resource/AnimationMetadata;time:I
-
interpolate
private final boolean interpolate- Mappings:
Namespace Name Mixin selector official eLboa;e:Zintermediary field_5320Lnet/minecraft/class_1278;field_5320:Znamed interpolateLnet/minecraft/client/resource/AnimationMetadata;interpolate:Z
-
-
Constructor Details
-
AnimationMetadata
public AnimationMetadata(List<AnimationFrameResourceMetadata> metadataList, int width, int height, int time, boolean interpolate)- Mappings:
Namespace Name Mixin selector official <init>Lboa;<init>(Ljava/util/List;IIIZ)Vintermediary <init>Lnet/minecraft/class_1278;<init>(Ljava/util/List;IIIZ)Vnamed <init>Lnet/minecraft/client/resource/AnimationMetadata;<init>(Ljava/util/List;IIIZ)V
-
-
Method Details
-
getHeight
public int getHeight()- Mappings:
Namespace Name Mixin selector official aLboa;a()Iintermediary method_4428Lnet/minecraft/class_1278;method_4428()Inamed getHeightLnet/minecraft/client/resource/AnimationMetadata;getHeight()I
-
getWidth
public int getWidth()- Mappings:
Namespace Name Mixin selector official bLboa;b()Iintermediary method_4430Lnet/minecraft/class_1278;method_4430()Inamed getWidthLnet/minecraft/client/resource/AnimationMetadata;getWidth()I
-
getMetadataListSize
public int getMetadataListSize()- Mappings:
Namespace Name Mixin selector official cLboa;c()Iintermediary method_4432Lnet/minecraft/class_1278;method_4432()Inamed getMetadataListSizeLnet/minecraft/client/resource/AnimationMetadata;getMetadataListSize()I
-
getTime
public int getTime()- Mappings:
Namespace Name Mixin selector official dLboa;d()Iintermediary method_4434Lnet/minecraft/class_1278;method_4434()Inamed getTimeLnet/minecraft/client/resource/AnimationMetadata;getTime()I
-
shouldInterpolate
public boolean shouldInterpolate()- Mappings:
Namespace Name Mixin selector official eLboa;e()Zintermediary method_4436Lnet/minecraft/class_1278;method_4436()Znamed shouldInterpolateLnet/minecraft/client/resource/AnimationMetadata;shouldInterpolate()Z
-
get
- Mappings:
Namespace Name Mixin selector official dLboa;d(I)Lbnz;intermediary method_4435Lnet/minecraft/class_1278;method_4435(I)Lnet/minecraft/class_1277;named getLnet/minecraft/client/resource/AnimationMetadata;get(I)Lnet/minecraft/client/resource/metadata/AnimationFrameResourceMetadata;
-
getTime
public int getTime(int i)- Mappings:
Namespace Name Mixin selector official aLboa;a(I)Iintermediary method_4429Lnet/minecraft/class_1278;method_4429(I)Inamed getTimeLnet/minecraft/client/resource/AnimationMetadata;getTime(I)I
-
method_4431
public boolean method_4431(int i)- Mappings:
Namespace Name Mixin selector official bLboa;b(I)Zintermediary method_4431Lnet/minecraft/class_1278;method_4431(I)Znamed method_4431Lnet/minecraft/client/resource/AnimationMetadata;method_4431(I)Z
-
getIndex
public int getIndex(int i)- Mappings:
Namespace Name Mixin selector official cLboa;c(I)Iintermediary method_4433Lnet/minecraft/class_1278;method_4433(I)Inamed getIndexLnet/minecraft/client/resource/AnimationMetadata;getIndex(I)I
-
getIndices
- Mappings:
Namespace Name Mixin selector official fLboa;f()Ljava/util/Set;intermediary method_4437Lnet/minecraft/class_1278;method_4437()Ljava/util/Set;named getIndicesLnet/minecraft/client/resource/AnimationMetadata;getIndices()Ljava/util/Set;
-