mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-10-24 04:04:17 +00:00
53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"format_version": "1.10.0",
|
|
"minecraft:client_entity": {
|
|
"description": {
|
|
"identifier": "minecraft:chicken",
|
|
"min_engine_version": "1.12.0",
|
|
"materials": {
|
|
"default": "chicken",
|
|
"legs": "chicken_legs",
|
|
"cold": "chicken_cold"
|
|
},
|
|
"textures": {
|
|
"default": "textures/entity/chicken/chicken",
|
|
"warm": "textures/entity/chicken/chicken_warm",
|
|
"cold": "textures/entity/chicken/chicken_cold"
|
|
},
|
|
"geometry": {
|
|
"default": "geometry.chicken.v1.12",
|
|
"warm": "geometry.chicken.v1.12",
|
|
"cold": "geometry.chicken.cold"
|
|
},
|
|
"animations": {
|
|
"move": "animation.chicken.move",
|
|
"general": "animation.chicken.general",
|
|
"look_at_target": "animation.common.look_at_target",
|
|
"baby_transform": "animation.chicken.baby_transform"
|
|
},
|
|
"scripts": {
|
|
"animate": [
|
|
"general",
|
|
{
|
|
"move": "query.modified_move_speed"
|
|
},
|
|
"look_at_target",
|
|
{
|
|
"baby_transform": "query.is_baby"
|
|
}
|
|
],
|
|
"pre_animation": [
|
|
"t.variant = query.property('minecraft:climate_variant');",
|
|
"v.index = (t.variant == 'temperate') ? 0 : ((t.variant == 'warm') ? 1 : 2);",
|
|
"v.is_cold = t.variant == 'cold';"
|
|
]
|
|
},
|
|
"render_controllers": [
|
|
"controller.render.chicken.v2"
|
|
],
|
|
"spawn_egg": {
|
|
"texture": "spawn_egg_chicken"
|
|
}
|
|
}
|
|
}
|
|
} |