net.minecraft.client.resources.metadata.animation

public class AnimationMetadataSection

hcx
net.minecraft.client.resources.metadata.animation.AnimationMetadataSection
net.minecraft.class_1079
net.minecraft.client.resource.metadata.AnimationResourceMetadata

Field summary

Modifier and TypeField
public static final AnimationMetadataSectionSerializer
a
SERIALIZER
field_5337
READER
public static final String
b
SECTION_NAME
field_32974
KEY
public static final int
c
DEFAULT_FRAME_TIME
field_32975
EMPTY_FRAME_TIME
public static final int
d
UNKNOWN_SIZE
field_32976
UNDEFINED
public static final AnimationMetadataSection
e
EMPTY
field_21768
EMPTY
private final List<AnimationFrame>
f
frames
field_5339
frames
private final int
g
frameWidth
field_5338
width
private final int
h
frameHeight
field_5336
height
private final int
i
defaultFrameTime
field_5334
defaultFrameTime
private final boolean
j
interpolatedFrames
field_5335
interpolate

Constructor summary

ModifierConstructor
public (List<AnimationFrame> frames, int width, int height, int defaultFrameTime, boolean interpolate)

Method summary

Modifier and TypeMethod
public FrameSize
a(int arg0, int arg1)
calculateFrameSize(int arg0, int arg1)
method_24143(int arg0, int arg1)
getSize(int defaultWidth, int defaultHeight)
public int
a()
getDefaultFrameTime()
method_4684()
getDefaultFrameTime()
public boolean
b()
isInterpolatedFrames()
method_4685()
shouldInterpolate()
public void
a(hcx$a arg0)
forEachFrame(AnimationMetadataSection$FrameOutput arg0)
method_33460(class_1079$class_5792 arg0)
forEachFrame(AnimationResourceMetadata$FrameConsumer consumer)