1
0
mirror of https://github.com/GeyserMC/GeyserOptionalPack.git synced 2025-12-26 02:09:25 +00:00
Files
GeyserOptionalPack/entity/armor_stand.entity.json
Kas-tle dcbed60651 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
2022-08-10 18:05:12 -04:00

54 lines
2.1 KiB
JSON
Executable File

{
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "minecraft:armor_stand",
"min_engine_version": "1.8.0",
"materials": {
"default": "armor_stand"
},
"textures": {
"default": "textures/entity/armor_stand"
},
"animations": {
"default_pose": "animation.armor_stand.default_pose",
"no_pose": "animation.armor_stand.no_pose",
"solemn_pose": "animation.armor_stand.solemn_pose",
"athena_pose": "animation.armor_stand.athena_pose",
"brandish_pose": "animation.armor_stand.brandish_pose",
"honor_pose": "animation.armor_stand.honor_pose",
"entertain_pose": "animation.armor_stand.entertain_pose",
"salute_pose": "animation.armor_stand.salute_pose",
"riposte_pose": "animation.armor_stand.riposte_pose",
"zombie_pose": "animation.armor_stand.zombie_pose",
"cancan_a_pose": "animation.armor_stand.cancan_a_pose",
"cancan_b_pose": "animation.armor_stand.cancan_b_pose",
"hero_pose": "animation.armor_stand.hero_pose",
"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_scale": "animation.armor_stand.geyser_scale"
},
"scripts": {
"initialize": [
"v.armor_stand.pose_index = 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_scale": "q.is_baby"}
]
},
"geometry": {
"default": "geometry.armor_stand"
},
"render_controllers": [ "controller.render.armor_stand" ],
"enable_attachables": true
}
}
}