Keyframe .java

net.minecraft.client.animation.Keyframe (record): members: timestamp, preTarget, postTarget, interpolation. imports: Vector3fc, EnvType, Environment.

net.minecraft.client.animationrecord13 linesclient484 B

API Surface (1)

record Keyframe(float timestamp, Vector3fc preTarget, Vector3fc postTarget, AnimationChannel.Interpolation interpolation)

Code Graph: Dependencies (1)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

Keyframe.java13 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.client.animation;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
import org.joml.Vector3fc;
6
7
@Environment(EnvType.CLIENT)
8
public record Keyframe(float timestamp, Vector3fc preTarget, Vector3fc postTarget, AnimationChannel.Interpolation interpolation) {
9
	public Keyframe(final float timestamp, final Vector3fc postTarget, final AnimationChannel.Interpolation interpolation) {
10
		this(timestamp, postTarget, postTarget, interpolation);
11
	}
12
}
13

Decompiled Minecraft 26.3 source of Keyframe (net/minecraft/client/animation/Keyframe.java) with Mojang official mappings, stored verbatim on the site.