net.minecraft.client.resources.metadata.animation

public class AnimationMetadataSection

eym
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
private static boolean
b(int arg0, int arg1)
isDivisionInteger(int arg0, int arg1)
method_24142(int arg0, int arg1)
isMultipleOf(int dividend, int divisor)
m_119033_(int p_119034_, int p_119035_)
public com.mojang.datafixers.util.Pair<Integer, Integer>
a(int arg0, int arg1)
getFrameSize(int arg0, int arg1)
method_24141(int arg0, int arg1)
ensureImageSize(int x, int y)
m_7117_(int p_119029_, int arg1)
private com.mojang.datafixers.util.Pair<Integer, Integer>
c(int arg0, int arg1)
calculateFrameSize(int arg0, int arg1)
method_24143(int arg0, int arg1)
getSize(int defaultWidth, int defaultHeight)
m_119039_(int p_119041_, int arg1)
public int
a(int arg0)
getFrameHeight(int arg0)
method_4686(int arg0)
getHeight(int defaultHeight)
m_119026_(int arg0)
public int
b(int arg0)
getFrameWidth(int arg0)
method_4687(int arg0)
getWidth(int defaultWidth)
m_119031_(int arg0)
public int
a()
getDefaultFrameTime()
method_4684()
getDefaultFrameTime()
m_119030_()
public boolean
b()
isInterpolatedFrames()
method_4685()
shouldInterpolate()
m_119036_()
public void
a(eym$a arg0)
forEachFrame(AnimationMetadataSection$FrameOutput arg0)
method_33460(class_1079$class_5792 arg0)
forEachFrame(AnimationResourceMetadata$FrameConsumer consumer)
m_174861_(C_4518_$C_141760_ arg0)