From fcc81cde18650de3192db8e759a6a7e7e8401bd4 Mon Sep 17 00:00:00 2001 From: Auri Date: Wed, 17 Dec 2025 14:29:56 +0000 Subject: [PATCH] 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 --- .../player.animation_controllers.json | 7 +++++-- src/main/resources/integratedpack/manifest.json | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/resources/integratedpack/animation_controllers/player.animation_controllers.json b/src/main/resources/integratedpack/animation_controllers/player.animation_controllers.json index 3ac26b7..338718f 100644 --- a/src/main/resources/integratedpack/animation_controllers/player.animation_controllers.json +++ b/src/main/resources/integratedpack/animation_controllers/player.animation_controllers.json @@ -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" : [ { diff --git a/src/main/resources/integratedpack/manifest.json b/src/main/resources/integratedpack/manifest.json index 5d7ee22..dc67bd1 100644 --- a/src/main/resources/integratedpack/manifest.json +++ b/src/main/resources/integratedpack/manifest.json @@ -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] } ] }