Uses of Record Class
net.minecraft.client.animation.AnimationChannel
Package
Description
-
Uses of AnimationChannel in net.minecraft.client.animation
Modifier and TypeFieldDescriptionprivate final Map
<String, List<AnimationChannel>> AnimationDefinition.Builder.animationByBone
private final Map
<String, List<AnimationChannel>> AnimationDefinition.boneAnimations
The field for theboneAnimations
record component.Modifier and TypeMethodDescriptionAnimationDefinition.boneAnimations()
Returns the value of theboneAnimations
record component.Modifier and TypeMethodDescriptionAnimationDefinition.Builder.addAnimation
(String p_232280_, AnimationChannel p_232281_) ModifierConstructorDescriptionAnimationDefinition
(float lengthInSeconds, boolean looping, Map<String, List<AnimationChannel>> boneAnimations) Creates an instance of aAnimationDefinition
record class. -
Uses of AnimationChannel in net.neoforged.neoforge.client.entity.animation.json
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<AnimationChannel> AnimationParser.CHANNEL_CODEC
{ "keyframes": [ { "timestamp": 0.5, "target": [22.5, 0.0, 0.0], "interpolation": "minecraft:linear" } ], "target": "minecraft:rotation" }
private static final com.mojang.serialization.Codec
<it.unimi.dsi.fastutil.Pair<String, AnimationChannel>> AnimationParser.NAMED_CHANNEL_CODEC
{ "bone": "head", "keyframes": [ { "timestamp": 0.5, "target": [22.5, 0.0, 0.0], "interpolation": "minecraft:linear" } ], "target": "minecraft:rotation" }