{
  "id": "metronome",
  "name_zh": "節拍器",
  "name_en": "Metronome",
  "tag": "de_metronome",
  "category": "music",
  "mount": "tabletop",
  "large": false,
  "sittable": false,
  "size": [
    0.25,
    0.4,
    0.27
  ],
  "blocks": [],
  "parts": [
    {
      "type": "block_display",
      "block": "minecraft:dark_oak_planks",
      "translation": [
        -0.125,
        0.0,
        -0.125
      ],
      "scale": [
        0.25,
        0.035,
        0.25
      ],
      "note": "flat wooden plinth",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.111,
        0.035,
        -0.108
      ],
      "scale": [
        0.222,
        0.03,
        0.206
      ],
      "note": "tapered wooden case tier 1",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.10475,
        0.065,
        -0.097
      ],
      "scale": [
        0.2095,
        0.03,
        0.195
      ],
      "note": "tapered wooden case tier 2",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.0985,
        0.095,
        -0.086
      ],
      "scale": [
        0.197,
        0.03,
        0.184
      ],
      "note": "tapered wooden case tier 3",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.09225,
        0.125,
        -0.075
      ],
      "scale": [
        0.1845,
        0.03,
        0.173
      ],
      "note": "tapered wooden case tier 4",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.086,
        0.155,
        -0.064
      ],
      "scale": [
        0.172,
        0.03,
        0.162
      ],
      "note": "tapered wooden case tier 5",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.07975,
        0.185,
        -0.053
      ],
      "scale": [
        0.1595,
        0.03,
        0.151
      ],
      "note": "tapered wooden case tier 6",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.0735,
        0.215,
        -0.042
      ],
      "scale": [
        0.147,
        0.03,
        0.14
      ],
      "note": "tapered wooden case tier 7",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.06725,
        0.245,
        -0.031
      ],
      "scale": [
        0.1345,
        0.03,
        0.129
      ],
      "note": "tapered wooden case tier 8",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.061,
        0.275,
        -0.02
      ],
      "scale": [
        0.122,
        0.03,
        0.118
      ],
      "note": "tapered wooden case tier 9",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.05475,
        0.305,
        -0.009
      ],
      "scale": [
        0.1095,
        0.03,
        0.107
      ],
      "note": "tapered wooden case tier 10",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.0485,
        0.335,
        0.002
      ],
      "scale": [
        0.097,
        0.03,
        0.096
      ],
      "note": "tapered wooden case tier 11",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.04225,
        0.365,
        0.013
      ],
      "scale": [
        0.0845,
        0.03,
        0.085
      ],
      "note": "tapered wooden case tier 12",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_terracotta",
      "translation": [
        -0.036,
        0.086,
        0.096
      ],
      "scale": [
        0.072,
        0.284,
        0.012
      ],
      "note": "ivory graduated tempo scale",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.032,
        0.1035,
        0.108
      ],
      "scale": [
        0.026,
        0.003,
        0.004
      ],
      "note": "tempo graduation 1",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.0265,
        0.1295,
        0.108
      ],
      "scale": [
        0.015,
        0.003,
        0.004
      ],
      "note": "tempo graduation 2",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.0265,
        0.1555,
        0.108
      ],
      "scale": [
        0.015,
        0.003,
        0.004
      ],
      "note": "tempo graduation 3",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.032,
        0.1815,
        0.108
      ],
      "scale": [
        0.026,
        0.003,
        0.004
      ],
      "note": "tempo graduation 4",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.0265,
        0.2075,
        0.108
      ],
      "scale": [
        0.015,
        0.003,
        0.004
      ],
      "note": "tempo graduation 5",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.0265,
        0.2335,
        0.108
      ],
      "scale": [
        0.015,
        0.003,
        0.004
      ],
      "note": "tempo graduation 6",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.032,
        0.2595,
        0.108
      ],
      "scale": [
        0.026,
        0.003,
        0.004
      ],
      "note": "tempo graduation 7",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.0265,
        0.2855,
        0.108
      ],
      "scale": [
        0.015,
        0.003,
        0.004
      ],
      "note": "tempo graduation 8",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.0265,
        0.3115,
        0.108
      ],
      "scale": [
        0.015,
        0.003,
        0.004
      ],
      "note": "tempo graduation 9",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.032,
        0.3375,
        0.108
      ],
      "scale": [
        0.026,
        0.003,
        0.004
      ],
      "note": "tempo graduation 10",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:gold_block",
      "translation": [
        -0.02,
        0.0665,
        0.107
      ],
      "scale": [
        0.04,
        0.031,
        0.018
      ],
      "note": "pendulum pivot",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:iron_block",
      "translation": [
        -0.0045,
        0.082,
        0.1195
      ],
      "scale": [
        0.009,
        0.302,
        0.009
      ],
      "note": "exposed pendulum held mid swing",
      "left_rotation": [
        0,
        0,
        0,
        1
      ],
      "group": "pendulum"
    },
    {
      "type": "block_display",
      "block": "minecraft:gold_block",
      "translation": [
        -0.018,
        0.285,
        0.121
      ],
      "scale": [
        0.036,
        0.043,
        0.016
      ],
      "note": "sliding brass pendulum weight",
      "left_rotation": [
        0,
        0,
        0,
        1
      ],
      "group": "pendulum"
    }
  ],
  "behavior": {
    "actions_schema": "1.7.0",
    "lights": [],
    "collision": {
      "mode": "none",
      "cells_by_state": {
        "closed": [],
        "open": []
      },
      "reason": "small_decor: 桌面擺設不產生碰撞。",
      "policy": "1.8.0"
    },
    "parts": [
      {
        "id": "body",
        "model_origin": [
          0,
          0,
          0
        ]
      },
      {
        "id": "pendulum",
        "pivot": [
          0,
          0.082,
          0.124
        ],
        "motion": {
          "type": "sequence",
          "keyframes": [
            {
              "t": 0,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 5,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.0,
                  0.0,
                  -0.1908089953765448,
                  0.981627183447664
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 10,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 15,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.0,
                  0.0,
                  0.1908089953765448,
                  0.981627183447664
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 20,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ]
        },
        "rest_pose": "t0"
      }
    ],
    "interactions": [
      {
        "id": "tempo-click",
        "part_id": "pendulum",
        "center": [
          0,
          0.05,
          0.13
        ],
        "width": 0.3,
        "height": 0.35,
        "response": true,
        "action": "beat"
      }
    ],
    "trigger": {
      "type": "click"
    },
    "animation": {
      "duration_ticks": 10,
      "start_delay_ticks": 0,
      "teleport_duration": 0
    },
    "actions": [
      {
        "id": "beat",
        "label": "打拍子／停止",
        "kind": "sequence",
        "groups": [
          "pendulum"
        ],
        "motion": {
          "type": "sequence",
          "keyframes": [
            {
              "t": 0,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 5,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.0,
                  0.0,
                  -0.1908089953765448,
                  0.981627183447664
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 10,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 15,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.0,
                  0.0,
                  0.1908089953765448,
                  0.981627183447664
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 20,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ]
        },
        "sounds": {
          "beat": {
            "id": "minecraft:block.note_block.hat",
            "volume": 0.25,
            "pitch": 1,
            "interval_ticks": 10
          }
        },
        "playback": {
          "loop": true,
          "stop_ticks": 6
        },
        "sound_events": {
          "left": {
            "id": "minecraft:block.note_block.hat",
            "volume": 0.2,
            "pitch": 1,
            "at_tick": 5
          },
          "right": {
            "id": "minecraft:block.note_block.hat",
            "volume": 0.2,
            "pitch": 1,
            "at_tick": 15
          }
        }
      }
    ],
    "sounds": {
      "beat": {
        "id": "minecraft:block.note_block.hat",
        "volume": 0.25,
        "pitch": 1,
        "interval_ticks": 10
      }
    },
    "particles": {},
    "default_action": "beat",
    "action_labels": {
      "beat": "打拍子／停止"
    }
  }
}
