Uses of Record Class
net.minecraft.client.animation.Keyframe
Packages that use Keyframe
Package
Description
-
Uses of Keyframe in net.minecraft.client.animation
Fields in net.minecraft.client.animation declared as KeyframeModifier and TypeFieldDescriptionprivate final Keyframe[]AnimationChannel.keyframesThe field for thekeyframesrecord component.private final Keyframe[]KeyframeAnimation.Entry.keyframesThe field for thekeyframesrecord component.Methods in net.minecraft.client.animation that return KeyframeModifier and TypeMethodDescriptionKeyframe[]AnimationChannel.keyframes()Returns the value of thekeyframesrecord component.Keyframe[]KeyframeAnimation.Entry.keyframes()Returns the value of thekeyframesrecord component.Methods in net.minecraft.client.animation with parameters of type KeyframeModifier and TypeMethodDescriptionorg.joml.Vector3fAnimationChannel.Interpolation.apply(org.joml.Vector3f vector, float alpha, Keyframe[] keyframes, int prev, int next, float targetScale) Constructors in net.minecraft.client.animation with parameters of type KeyframeModifierConstructorDescriptionAnimationChannel(AnimationChannel.Target target, Keyframe... keyframes) Creates an instance of aAnimationChannelrecord class.privateEntry(ModelPart part, AnimationChannel.Target target, Keyframe[] keyframes) Creates an instance of aEntryrecord class. -
Uses of Keyframe in net.neoforged.neoforge.client.entity.animation.json
Fields in net.neoforged.neoforge.client.entity.animation.json with type parameters of type KeyframeModifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<AnimationTarget, Codec<Keyframe>> AnimationTypeManager.KEYFRAME_CODECSMethods in net.neoforged.neoforge.client.entity.animation.json that return KeyframeModifier and TypeMethodDescriptionprivate static KeyframeAnimationParser.constructKeyframe(float timestamp, Either<Pair<org.joml.Vector3fc, org.joml.Vector3fc>, org.joml.Vector3fc> target, AnimationChannel.Interpolation interpolation) Methods in net.neoforged.neoforge.client.entity.animation.json that return types with arguments of type KeyframeModifier and TypeMethodDescriptionAnimationTypeManager.getKeyframeCodec(AnimationTarget target) AnimationParser.keyframeCodec(AnimationTarget target) { "timestamp": 0.5, "target": [22.5, 0.0, 0.0], "interpolation": "minecraft:linear" }