Skip to content

Commit fcc81cd

Browse files
authored
Fix first person spear animation (#71)
* Add spear animation to animation controller * Bump version * Bump version again since people have used 1.0.2, fix spear completely
1 parent 0675160 commit fcc81cd

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/main/resources/integratedpack/animation_controllers/player.animation_controllers.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"first_person_shield_block": "query.blocking"
1414
},
1515
{
16-
"first_person_attack_controller" : "variable.attack_time > 0.0f && query.get_equipped_item_name != 'filled_map'"
16+
"first_person_attack_controller" : "variable.attack_time > 0.0 && query.get_equipped_item_name != 'filled_map' && !variable.melee_spear_equipped"
1717
},
1818
"first_person_base_pose",
1919
{
@@ -30,7 +30,10 @@
3030
},
3131
{
3232
"first_person_breathing_bob": "variable.attack_time <= 0.0"
33-
}
33+
},
34+
{
35+
"first_person_melee_spear_controller": "variable.melee_spear_equipped"
36+
}
3437
],
3538
"transitions" : [
3639
{

src/main/resources/integratedpack/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"description": "Bedrock resource pack to extend Geyser functionality",
55
"name": "GeyserIntegratedPack",
66
"uuid": "2254393d-8430-45b0-838a-bd397828c765",
7-
"version": [1, 0, 1],
7+
"version": [1, 0, 3],
88
"min_engine_version": [ 1, 16, 0 ]
99
},
1010
"modules": [
1111
{
1212
"description": "GeyserIntegratedPack",
1313
"type": "resources",
1414
"uuid": "4d60881b-e4ed-466f-925c-8abc873151ba",
15-
"version": [1, 0, 1]
15+
"version": [1, 0, 3]
1616
}
1717
]
1818
}

0 commit comments

Comments
 (0)