1
0
mirror of https://github.com/GeyserMC/GeyserOptionalPack.git synced 2025-12-31 04:36:45 +00:00

Scale head slot correctly for small armor stand (#33)

* Scale head slot correctly for small armor stand

* Slight correction to value and add documentation

* Fix scaling of heads and carved pumpkin

* Fix typos
This commit is contained in:
Kas-tle
2022-08-10 15:05:12 -07:00
committed by GitHub
parent 90ba61cb20
commit dcbed60651
4 changed files with 22 additions and 5 deletions

View File

@@ -27,17 +27,20 @@
"wiggle": "animation.armor_stand.wiggle",
"controller.pose": "controller.animation.armor_stand.pose",
"controller.wiggling": "controller.animation.armor_stand.wiggle",
"geyser_pose": "animation.armor_stand.geyser_pose"
"geyser_pose": "animation.armor_stand.geyser_pose",
"geyser_scale": "animation.armor_stand.geyser_scale"
},
"scripts": {
"initialize": [
"v.armor_stand.pose_index = 0;",
"v.armor_stand.hurt_time = 0;"
"v.armor_stand.hurt_time = 0;",
"v.head_scale = q.is_item_name_any('slot.armor.head', 0, 'minecraft:skull', 'minecraft:carved_pumpkin') ? 0.6992 : 1.3984;"
],
"animate": [
{"controller.pose": "!q.is_bribed"},
{"controller.wiggling": "!q.is_bribed"},
{"geyser_pose": "q.is_bribed"}
{"geyser_pose": "q.is_bribed"},
{"geyser_scale": "q.is_baby"}
]
},
"geometry": {