Uses of Record Class
net.minecraft.client.animation.AnimationDefinition
Packages that use AnimationDefinition
Package
Description
-
Uses of AnimationDefinition in net.minecraft.client.animation
Methods in net.minecraft.client.animation that return AnimationDefinitionMethods in net.minecraft.client.animation with parameters of type AnimationDefinitionModifier and TypeMethodDescriptionstatic voidKeyframeAnimations.animate(HierarchicalModel<?> model, AnimationDefinition animationDefinition, long accumulatedTime, float scale, org.joml.Vector3f animationVecCache) private static floatKeyframeAnimations.getElapsedSeconds(AnimationDefinition animationDefinition, long accumulatedTime) -
Uses of AnimationDefinition in net.minecraft.client.animation.definitions
Fields in net.minecraft.client.animation.definitions declared as AnimationDefinitionModifier and TypeFieldDescriptionstatic final AnimationDefinitionArmadilloAnimation.ARMADILLO_PEEKstatic final AnimationDefinitionArmadilloAnimation.ARMADILLO_ROLL_OUTstatic final AnimationDefinitionArmadilloAnimation.ARMADILLO_ROLL_UPstatic final AnimationDefinitionArmadilloAnimation.ARMADILLO_WALKstatic final AnimationDefinitionSnifferAnimation.BABY_TRANSFORMstatic final AnimationDefinitionBatAnimation.BAT_FLYINGstatic final AnimationDefinitionBatAnimation.BAT_RESTINGstatic final AnimationDefinitionCamelAnimation.CAMEL_DASHstatic final AnimationDefinitionCamelAnimation.CAMEL_IDLEstatic final AnimationDefinitionCamelAnimation.CAMEL_SITstatic final AnimationDefinitionCamelAnimation.CAMEL_SIT_POSEstatic final AnimationDefinitionCamelAnimation.CAMEL_STANDUPstatic final AnimationDefinitionCamelAnimation.CAMEL_WALKstatic final AnimationDefinitionFrogAnimation.FROG_CROAKstatic final AnimationDefinitionFrogAnimation.FROG_IDLE_WATERstatic final AnimationDefinitionFrogAnimation.FROG_JUMPstatic final AnimationDefinitionFrogAnimation.FROG_SWIMstatic final AnimationDefinitionFrogAnimation.FROG_TONGUEstatic final AnimationDefinitionFrogAnimation.FROG_WALKstatic final AnimationDefinitionBreezeAnimation.JUMPstatic final AnimationDefinitionBreezeAnimation.SHOOTstatic final AnimationDefinitionBreezeAnimation.SLIDEstatic final AnimationDefinitionBreezeAnimation.SLIDE_BACKstatic final AnimationDefinitionSnifferAnimation.SNIFFER_BABY_FALLstatic final AnimationDefinitionSnifferAnimation.SNIFFER_DIGstatic final AnimationDefinitionSnifferAnimation.SNIFFER_HAPPYstatic final AnimationDefinitionSnifferAnimation.SNIFFER_LONGSNIFFstatic final AnimationDefinitionSnifferAnimation.SNIFFER_SNIFF_SEARCHstatic final AnimationDefinitionSnifferAnimation.SNIFFER_SNIFFSNIFFstatic final AnimationDefinitionSnifferAnimation.SNIFFER_STAND_UPstatic final AnimationDefinitionSnifferAnimation.SNIFFER_WALKstatic final AnimationDefinitionWardenAnimation.WARDEN_ATTACKstatic final AnimationDefinitionWardenAnimation.WARDEN_DIGstatic final AnimationDefinitionWardenAnimation.WARDEN_EMERGEstatic final AnimationDefinitionWardenAnimation.WARDEN_ROARstatic final AnimationDefinitionWardenAnimation.WARDEN_SNIFFstatic final AnimationDefinitionWardenAnimation.WARDEN_SONIC_BOOM -
Uses of AnimationDefinition in net.minecraft.client.model
Methods in net.minecraft.client.model with parameters of type AnimationDefinitionModifier and TypeMethodDescriptionprotected voidHierarchicalModel.animate(AnimationState animationState, AnimationDefinition animationDefinition, float ageInTicks) protected voidHierarchicalModel.animate(AnimationState animationState, AnimationDefinition animationDefinition, float ageInTicks, float speed) protected voidHierarchicalModel.animateWalk(AnimationDefinition animationDefinition, float limbSwing, float limbSwingAmount, float maxAnimationSpeed, float animationScaleFactor) protected voidHierarchicalModel.applyStatic(AnimationDefinition animationDefinition) -
Uses of AnimationDefinition in net.neoforged.neoforge.client.entity.animation.json
Fields in net.neoforged.neoforge.client.entity.animation.json declared as AnimationDefinitionModifier and TypeFieldDescriptionstatic final AnimationDefinitionAnimationHolder.EMPTY_ANIMATIONprivate @Nullable AnimationDefinitionAnimationHolder.valueFields in net.neoforged.neoforge.client.entity.animation.json with type parameters of type AnimationDefinitionModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<AnimationDefinition> AnimationParser.CODEC{ "length": 1.125, "loop": true, "animations": [ { "bone": "head", "keyframes": [ { "timestamp": 0.5, "target": [22.5, 0.0, 0.0], "interpolation": "minecraft:linear" } ] } ] }Methods in net.neoforged.neoforge.client.entity.animation.json that return AnimationDefinitionModifier and TypeMethodDescriptionAnimationHolder.get()Gets the currently loaded animation.@Nullable AnimationDefinitionAnimationLoader.getAnimation(ResourceLocation key) Gets a loadedAnimationDefinitionwith the specifiedkey.@Nullable AnimationDefinitionAnimationHolder.getOrNull()Gets the currently loaded animation or null if it has not been loaded.Methods in net.neoforged.neoforge.client.entity.animation.json with parameters of type AnimationDefinitionModifier and TypeMethodDescription(package private) voidAnimationHolder.bind(AnimationDefinition value)