Repository navigation
Overhaul fall back first person feature
The firstPersonFallbackAnimations option allows you to specify default first-person animation sets for your weapon.
Single Animation Set
To use a single default animation set, provide its name as a string:
"firstPersonFallbackAnimations": "walking_animations"Multiple Animation Sets
You can also specify multiple animation sets using an array. This extended format allows you to use as many default animation sets as you need.
"firstPersonFallbackAnimations": [
"default_animations/pistol_anims/walking_animations",
"default_animations/pistol_anims/idle_animations",
"default_animations/pistol_anims/dual_wield_animations"
]Each entry specifies a default animation set to use. In this example, the array includes walking, idle, and dual-wield animation sets.
Which Format Should You Use?
- Single string: Use this when you only need one animation set.
- Array: Use this when you want to specify multiple animation sets.
Both formats use the same firstPersonFallbackAnimations option. Choose the format that best suits your weapon's animation requirements.
Which Format Should You Use?
-
Single string: use the default traditional geckolib animation directory
-
Default animation: Use the external animations directory which is a seperate "default_animations" folder on your content pack both are supported