net.minecraft.client.resources.metadata.animation

public class AnimationMetadataSection

fpt
net.minecraft.client.resources.metadata.animation.AnimationMetadataSection
net.minecraft.class_1079
net.minecraft.client.resource.metadata.AnimationResourceMetadata
net.minecraft.src.C_4518_

Field summary

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

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)
m_245821_(int p_250148_, int arg1)
public int
a()
getDefaultFrameTime()
method_4684()
getDefaultFrameTime()
m_119030_()
public boolean
b()
isInterpolatedFrames()
method_4685()
shouldInterpolate()
m_119036_()
public void
a(fpt$a arg0)
forEachFrame(AnimationMetadataSection$FrameOutput arg0)
method_33460(class_1079$class_5792 arg0)
forEachFrame(AnimationResourceMetadata$FrameConsumer consumer)
m_174861_(C_4518_$C_141760_ arg0)