Uses of Record Class
net.neoforged.neoforge.client.entity.animation.AnimationTarget
Packages that use AnimationTarget
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of AnimationTarget in net.neoforged.neoforge.client.entity.animation
Fields in net.neoforged.neoforge.client.entity.animation declared as AnimationTargetModifier and TypeFieldDescriptionstatic final AnimationTargetAnimationTarget.POSITIONstatic final AnimationTargetAnimationTarget.ROTATIONstatic final AnimationTargetAnimationTarget.SCALE -
Uses of AnimationTarget in net.neoforged.neoforge.client.entity.animation.json
Fields in net.neoforged.neoforge.client.entity.animation.json with type parameters of type AnimationTargetModifier and TypeFieldDescriptionprivate static final ImmutableBiMap<ResourceLocation, AnimationTarget> AnimationTypeManager.DEFAULT_TARGETSprivate static ImmutableMap<AnimationTarget, com.mojang.serialization.Codec<Keyframe>> AnimationTypeManager.KEYFRAME_CODECSprivate static final com.mojang.serialization.Codec<AnimationTarget> AnimationParser.TARGET_CODEC"minecraft:rotation" }invalid @snippet
{@snippet lang = JSON :private static ImmutableBiMap<ResourceLocation, AnimationTarget> AnimationTypeManager.TARGETSprivate static ImmutableMap<AnimationChannel.Target, AnimationTarget> AnimationTypeManager.TARGETS_BY_CHANNEL_TARGETMethods in net.neoforged.neoforge.client.entity.animation.json that return AnimationTargetModifier and TypeMethodDescriptionstatic @Nullable AnimationTargetAnimationTypeManager.getTarget(ResourceLocation name) Gets theAnimationTargetassociated with the givenname.static @Nullable AnimationTargetAnimationTypeManager.getTargetFromChannelTarget(AnimationChannel.Target target) Gets the fullAnimationTargetfrom itschannelTarget.Methods in net.neoforged.neoforge.client.entity.animation.json with parameters of type AnimationTargetModifier and TypeMethodDescriptionstatic @Nullable com.mojang.serialization.Codec<Keyframe> AnimationTypeManager.getKeyframeCodec(AnimationTarget target) static @Nullable ResourceLocationAnimationTypeManager.getTargetName(AnimationTarget target) Gets theResourceLocationassociated with the giventarget.(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" } -
Uses of AnimationTarget in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type AnimationTargetModifier and TypeFieldDescriptionprivate final Map<ResourceLocation, AnimationTarget> RegisterJsonAnimationTypesEvent.registeredTargetsprivate final ImmutableMap.Builder<ResourceLocation, AnimationTarget> RegisterJsonAnimationTypesEvent.targetsMethods in net.neoforged.neoforge.client.event with parameters of type AnimationTargetModifier and TypeMethodDescriptionvoidRegisterJsonAnimationTypesEvent.registerTarget(ResourceLocation key, AnimationTarget target) Register a customAnimationTargetwith the specifiedkey.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type AnimationTargetModifierConstructorDescriptionRegisterJsonAnimationTypesEvent(ImmutableMap.Builder<ResourceLocation, AnimationTarget> targets, ImmutableMap.Builder<ResourceLocation, AnimationChannel.Interpolation> interpolations)