net.minecraft.client.resources.metadata.animation

public record AnimationMetadataSection

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

Field summary

Modifier and TypeField
private final Optional<List<AnimationFrame>>
c
frames
comp_3453
frames
private final Optional<Integer>
d
frameWidth
comp_3454
width
private final Optional<Integer>
e
frameHeight
comp_3455
height
private final int
f
defaultFrameTime
comp_3456
defaultFrameTime
private final boolean
g
interpolatedFrames
comp_3457
interpolate
public static final com.mojang.serialization.Codec<AnimationMetadataSection>
a
CODEC
field_55536
CODEC
public static final MetadataSectionType<AnimationMetadataSection>
b
TYPE
field_55537
SERIALIZER

Constructor summary

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