1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-23 13:36:18 +00:00
bedrock-samples/resource_pack/entity/turtle.entity.json
Mike Ammerlaan e304be6ab8 v1.20.80.5
2024-04-23 09:20:49 -07:00

47 lines
1.3 KiB
JSON

{
"format_version": "1.8.0",
"minecraft:client_entity": {
"description": {
"identifier": "minecraft:turtle",
"materials": {
"default": "turtle"
},
"textures": {
"default": "textures/entity/sea_turtle"
},
"geometry": {
"default": "geometry.turtle"
},
"scripts": {
"pre_animation": [
"variable.timeMultiplier = query.has_rider ? 0.39972 : 1.0;",
"variable.backLegMultiplier = query.has_rider ? 0.5 : 3.0;",
"variable.frontLegMultiplier = query.has_rider ? 2.0 : 8.0;",
"variable.legSpeedMultiplier = query.has_rider ? 2.0 : 5.0;"
],
"scale": "1.2"
},
"animations": {
"general": "animation.turtle.general",
"move": "animation.turtle.move",
"ground_move": "animation.turtle.ground_move",
"look_at_target": "animation.common.look_at_target"
},
"animation_controllers": [
{
"general": "controller.animation.turtle.general"
},
{
"move": "controller.animation.turtle.move"
}
],
"render_controllers": [
"controller.render.turtle"
],
"spawn_egg": {
"texture": "spawn_egg",
"texture_index": 50
}
}
}
}