1
0
mirror of https://github.com/GeyserMC/GeyserOptionalPack.git synced 2026-01-03 22:16:33 +00:00
Files
GeyserOptionalPack/entity/iron_golem.entity.json
Kas-tle 19d9dffe1b Revert Iron Golem Material to Support Render Dragon (#6)
* Delete materials for now

We may try to utilize these again if Render Dragon ever allows for community modification of shaders and materials again (though this seems unlikely).

* Bump version

* Revert entity to use tropicalfish again since Geyser will now send COLOR_2

* Update documentation to reflect that we use the tropicalfish maertial again for the iron golem
2021-03-06 00:41:15 -05:00

42 lines
1.6 KiB
JSON
Executable File

{
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "minecraft:iron_golem",
"materials": { "default": "tropicalfish" },
"textures": {
"crackiness_none": "textures/entity/iron_golem/iron_golem_crackiness_none",
"crackiness_low": "textures/entity/iron_golem/iron_golem_crackiness_low",
"crackiness_medium": "textures/entity/iron_golem/iron_golem_crackiness_medium",
"crackiness_high": "textures/entity/iron_golem/iron_golem_crackiness_high",
"bottom_layer": "textures/entity/iron_golem"
},
"geometry": {
"default": "geometry.irongolem"
},
"animations": {
"walk": "animation.iron_golem.walk",
"move": "animation.iron_golem.move",
"walk_to_target": "animation.iron_golem.walk_to_target",
"move_to_target": "animation.iron_golem.move_to_target",
"attack": "animation.iron_golem.attack",
"flower": "animation.iron_golem.flower",
"look_at_target": "animation.common.look_at_target",
"move_controller": "controller.animation.iron_golem.move",
"arm_controller": "controller.animation.iron_golem.arm_movement"
},
"scripts": {
"pre_animation": [
"v.modified_tcos0 = Math.clamp(((Math.cos(q.modified_distance_moved * 13.5) * Math.min(q.modified_move_speed, 0.6) / v.gliding_speed_value) * 25.0), -12.5, 12.5);"
],
"animate": [
"look_at_target",
"move_controller",
"arm_controller"
]
},
"render_controllers": [ "controller.render.iron_golem" ]
}
}
}