Uses of Record Class
net.minecraft.client.animation.Keyframe
Package
Description
-
Uses of Keyframe in net.minecraft.client.animation
Modifier and TypeFieldDescriptionprivate final Keyframe[]
AnimationChannel.keyframes
The field for thekeyframes
record component.Modifier and TypeMethodDescriptionKeyframe[]
AnimationChannel.keyframes()
Returns the value of thekeyframes
record component.Modifier and TypeMethodDescriptionorg.joml.Vector3f
AnimationChannel.Interpolation.apply
(org.joml.Vector3f p_253818_, float p_232224_, Keyframe[] p_232225_, int p_232226_, int p_232227_, float p_232228_) ModifierConstructorDescriptionAnimationChannel
(AnimationChannel.Target target, Keyframe... keyframes) Creates an instance of aAnimationChannel
record class. -
Uses of Keyframe in net.neoforged.neoforge.client.entity.animation.json
Modifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap
<AnimationTarget, com.mojang.serialization.Codec<Keyframe>> AnimationTypeManager.KEYFRAME_CODECS
Modifier and TypeMethodDescriptionstatic @Nullable com.mojang.serialization.Codec
<Keyframe> AnimationTypeManager.getKeyframeCodec
(AnimationTarget target) (package private) static com.mojang.serialization.Codec
<Keyframe> AnimationParser.keyframeCodec
(AnimationTarget target) { "timestamp": 0.5, "target": [22.5, 0.0, 0.0], "interpolation": "minecraft:linear" }