1
0
mirror of https://github.com/GeyserMC/GeyserOptionalPack.git synced 2025-12-19 14:59:14 +00:00

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
This commit is contained in:
Auri
2025-12-17 14:29:56 +00:00
committed by GitHub
parent 06751603da
commit fcc81cde18
2 changed files with 7 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
"first_person_shield_block": "query.blocking"
},
{
"first_person_attack_controller" : "variable.attack_time > 0.0f && query.get_equipped_item_name != 'filled_map'"
"first_person_attack_controller" : "variable.attack_time > 0.0 && query.get_equipped_item_name != 'filled_map' && !variable.melee_spear_equipped"
},
"first_person_base_pose",
{
@@ -30,7 +30,10 @@
},
{
"first_person_breathing_bob": "variable.attack_time <= 0.0"
}
},
{
"first_person_melee_spear_controller": "variable.melee_spear_equipped"
}
],
"transitions" : [
{

View File

@@ -4,7 +4,7 @@
"description": "Bedrock resource pack to extend Geyser functionality",
"name": "GeyserIntegratedPack",
"uuid": "2254393d-8430-45b0-838a-bd397828c765",
"version": [1, 0, 1],
"version": [1, 0, 3],
"min_engine_version": [ 1, 16, 0 ]
},
"modules": [
@@ -12,7 +12,7 @@
"description": "GeyserIntegratedPack",
"type": "resources",
"uuid": "4d60881b-e4ed-466f-925c-8abc873151ba",
"version": [1, 0, 1]
"version": [1, 0, 3]
}
]
}