Class AnimationMetadataSection
java.lang.Object
net.minecraft.client.resources.metadata.animation.AnimationMetadataSection
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private final int
static final AnimationMetadataSection
private final int
private final List<AnimationFrame>
private final int
private final boolean
static final String
static final AnimationMetadataSectionSerializer
static final int
-
Constructor Summary
ConstructorDescriptionAnimationMetadataSection
(List<AnimationFrame> p_119020_, int p_119021_, int p_119022_, int p_119023_, boolean p_119024_) -
Method Summary
Modifier and TypeMethodDescriptioncalculateFrameSize
(int p_249859_, int p_250148_) void
forEachFrame
(AnimationMetadataSection.FrameOutput p_174862_) int
boolean
-
Field Details
-
SERIALIZER
-
SECTION_NAME
- See Also:
-
DEFAULT_FRAME_TIME
public static final int DEFAULT_FRAME_TIME- See Also:
-
UNKNOWN_SIZE
public static final int UNKNOWN_SIZE- See Also:
-
EMPTY
-
frames
-
frameWidth
private final int frameWidth -
frameHeight
private final int frameHeight -
defaultFrameTime
private final int defaultFrameTime -
interpolatedFrames
private final boolean interpolatedFrames
-
-
Constructor Details
-
AnimationMetadataSection
public AnimationMetadataSection(List<AnimationFrame> p_119020_, int p_119021_, int p_119022_, int p_119023_, boolean p_119024_)
-
-
Method Details
-
calculateFrameSize
-
getDefaultFrameTime
public int getDefaultFrameTime() -
isInterpolatedFrames
public boolean isInterpolatedFrames() -
forEachFrame
-