net.minecraft.client.resources.metadata.animation

public record AnimationMetadataSection

hgg
net.minecraft.client.resources.metadata.animation.AnimationMetadataSection
net.minecraft.class_1079
net.minecraft.unmapped.C_upzqjtby
net.minecraft.client.resource.metadata.AnimationResourceMetadata
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
f_evozriuy
frames
frames
f_119013_
private final Optional<Integer>
d
frameWidth
comp_3454
f_fjhgdtsp
width
width
f_119014_
private final Optional<Integer>
e
frameHeight
comp_3455
f_bdvyrclt
height
height
f_119015_
private final int
f
defaultFrameTime
comp_3456
f_ubztbcer
defaultFrameTime
defaultFrameTime
f_119016_
private final boolean
g
interpolatedFrames
comp_3457
f_gdnankyo
interpolate
interpolate
f_119017_
public static final com.mojang.serialization.Codec<AnimationMetadataSection>
a
CODEC
field_55536
f_iyeqkwup
CODEC
CODEC
f_370662_
public static final MetadataSectionType<AnimationMetadataSection>
b
TYPE
field_55537
f_ayacagzq
SERIALIZER
f_371072_

Constructor summary

ModifierConstructor
public (Optional<List<AnimationFrame>> frames, Optional<Integer> width, Optional<Integer> 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)
m_gsswjyhe(int arg0, int arg1)
getSize(int defaultWidth, int defaultHeight)
getSize(int defaultWidth, int defaultHeight)
m_247466_(int p_250148_, int arg1)
public Optional<List<AnimationFrame>>
a()
frames()
comp_3453()
m_mdoynwpt()
frames()
frames()
f_119013_()
public Optional<Integer>
b()
frameWidth()
comp_3454()
m_bxtcapzl()
width()
frameWidth()
f_119014_()
public Optional<Integer>
c()
frameHeight()
comp_3455()
m_lgmichol()
height()
frameHeight()
f_119015_()
public int
d()
defaultFrameTime()
comp_3456()
m_mvhoqnjo()
defaultFrameTime()
defaultFrameTime()
f_119016_()
public boolean
e()
interpolatedFrames()
comp_3457()
m_aazakxkg()
interpolate()
interpolatedFrames()
f_119017_()