net.minecraft.client.resources.metadata.animation

public record AnimationMetadataSection

hgg
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
private final Optional<List<AnimationFrame>>
c
frames
comp_3453
frames
f_119013_
private final Optional<Integer>
d
frameWidth
comp_3454
width
f_119014_
private final Optional<Integer>
e
frameHeight
comp_3455
height
f_119015_
private final int
f
defaultFrameTime
comp_3456
defaultFrameTime
f_119016_
private final boolean
g
interpolatedFrames
comp_3457
interpolate
f_119017_
public static final com.mojang.serialization.Codec<AnimationMetadataSection>
a
CODEC
field_55536
CODEC
f_370662_
public static final MetadataSectionType<AnimationMetadataSection>
b
TYPE
field_55537
SERIALIZER
f_371072_

Constructor summary

ModifierConstructor
public (Optional<List<AnimationFrame>> frameWidth, Optional<Integer> frameHeight, Optional<Integer> defaultFrameTime, 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_247466_(int p_250148_, int arg1)
public Optional<List<AnimationFrame>>
a()
frames()
comp_3453()
frames()
f_119013_()
public Optional<Integer>
b()
frameWidth()
comp_3454()
width()
f_119014_()
public Optional<Integer>
c()
frameHeight()
comp_3455()
height()
f_119015_()
public int
d()
defaultFrameTime()
comp_3456()
defaultFrameTime()
f_119016_()
public boolean
e()
interpolatedFrames()
comp_3457()
interpolate()
f_119017_()