{
  "id": "digital-alarm-clock",
  "name_zh": "電子鬧鐘",
  "name_en": "Digital Alarm Clock",
  "tag": "de_digital_alarm_clock",
  "category": "electronics",
  "mount": "tabletop",
  "large": false,
  "sittable": false,
  "size": [
    0.4,
    0.2,
    0.2
  ],
  "blocks": [],
  "parts": [
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.155,
        0,
        -0.055
      ],
      "scale": [
        0.035,
        0.017,
        0.105
      ],
      "note": "rubber foot",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        0.12,
        0,
        -0.055
      ],
      "scale": [
        0.035,
        0.017,
        0.105
      ],
      "note": "rubber foot",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_terracotta",
      "translation": [
        -0.2,
        0.025,
        -0.1
      ],
      "scale": [
        0.4,
        0.14,
        0.18
      ],
      "note": "soft rectangular clock casing",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_terracotta",
      "translation": [
        -0.184,
        0.014,
        -0.092
      ],
      "scale": [
        0.368,
        0.011,
        0.164
      ],
      "note": "eased lower edge",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_terracotta",
      "translation": [
        -0.184,
        0.165,
        -0.092
      ],
      "scale": [
        0.368,
        0.015,
        0.164
      ],
      "note": "eased upper edge",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.18,
        0.042,
        0.08
      ],
      "scale": [
        0.36,
        0.108,
        0.008
      ],
      "note": "dark display lens",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.141,
        0.132,
        0.089
      ],
      "scale": [
        0.035,
        0.008,
        0.003
      ],
      "note": "seven segment 0 a",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.106,
        0.097,
        0.089
      ],
      "scale": [
        0.008,
        0.034,
        0.003
      ],
      "note": "seven segment 0 b",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.106,
        0.059,
        0.089
      ],
      "scale": [
        0.008,
        0.034,
        0.003
      ],
      "note": "seven segment 0 c",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.141,
        0.051,
        0.089
      ],
      "scale": [
        0.035,
        0.008,
        0.003
      ],
      "note": "seven segment 0 d",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.15,
        0.059,
        0.089
      ],
      "scale": [
        0.008,
        0.034,
        0.003
      ],
      "note": "seven segment 0 e",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.15,
        0.097,
        0.089
      ],
      "scale": [
        0.008,
        0.034,
        0.003
      ],
      "note": "seven segment 0 f",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.073,
        0.132,
        0.089
      ],
      "scale": [
        0.035,
        0.008,
        0.003
      ],
      "note": "seven segment 7 a",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.038,
        0.097,
        0.089
      ],
      "scale": [
        0.008,
        0.034,
        0.003
      ],
      "note": "seven segment 7 b",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.038,
        0.059,
        0.089
      ],
      "scale": [
        0.008,
        0.034,
        0.003
      ],
      "note": "seven segment 7 c",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.032,
        0.132,
        0.089
      ],
      "scale": [
        0.035,
        0.008,
        0.003
      ],
      "note": "seven segment 3 a",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.067,
        0.097,
        0.089
      ],
      "scale": [
        0.008,
        0.034,
        0.003
      ],
      "note": "seven segment 3 b",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.032,
        0.091,
        0.089
      ],
      "scale": [
        0.035,
        0.008,
        0.003
      ],
      "note": "seven segment 3 g",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.067,
        0.059,
        0.089
      ],
      "scale": [
        0.008,
        0.034,
        0.003
      ],
      "note": "seven segment 3 c",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.032,
        0.051,
        0.089
      ],
      "scale": [
        0.035,
        0.008,
        0.003
      ],
      "note": "seven segment 3 d",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.1,
        0.132,
        0.089
      ],
      "scale": [
        0.035,
        0.008,
        0.003
      ],
      "note": "seven segment 0 a",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.135,
        0.097,
        0.089
      ],
      "scale": [
        0.008,
        0.034,
        0.003
      ],
      "note": "seven segment 0 b",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.135,
        0.059,
        0.089
      ],
      "scale": [
        0.008,
        0.034,
        0.003
      ],
      "note": "seven segment 0 c",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.1,
        0.051,
        0.089
      ],
      "scale": [
        0.035,
        0.008,
        0.003
      ],
      "note": "seven segment 0 d",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.091,
        0.059,
        0.089
      ],
      "scale": [
        0.008,
        0.034,
        0.003
      ],
      "note": "seven segment 0 e",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.091,
        0.097,
        0.089
      ],
      "scale": [
        0.008,
        0.034,
        0.003
      ],
      "note": "seven segment 0 f",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.004,
        0.078,
        0.089
      ],
      "scale": [
        0.008,
        0.008,
        0.003
      ],
      "note": "colon",
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.004,
        0.11,
        0.089
      ],
      "scale": [
        0.008,
        0.008,
        0.003
      ],
      "note": "colon",
      "group": "digits"
    },
    {
      "type": "block_display",
      "block": "minecraft:light_gray_concrete",
      "translation": [
        -0.08,
        0.18,
        -0.048
      ],
      "scale": [
        0.16,
        0.02,
        0.062
      ],
      "note": "wide snooze button",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:gray_concrete",
      "translation": [
        -0.15,
        0.18,
        -0.04
      ],
      "scale": [
        0.028,
        0.012,
        0.035
      ],
      "note": "alarm setting button",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:gray_concrete",
      "translation": [
        0.122,
        0.18,
        -0.04
      ],
      "scale": [
        0.028,
        0.012,
        0.035
      ],
      "note": "alarm setting button",
      "group": "body"
    }
  ],
  "behavior": {
    "lights": [
      {
        "id": "source-light",
        "level": 6,
        "point": [
          -0.0035,
          0.0955,
          0.0905
        ],
        "required": false,
        "candidate_offsets": [
          [
            0,
            1,
            0
          ],
          [
            0,
            0,
            1
          ],
          [
            0,
            0,
            -1
          ],
          [
            1,
            0,
            0
          ],
          [
            -1,
            0,
            0
          ],
          [
            0,
            2,
            0
          ]
        ]
      }
    ],
    "collision": {
      "mode": "none",
      "cells_by_state": {
        "closed": [],
        "open": []
      },
      "reason": "small_decor: 桌面擺設不產生碰撞。",
      "policy": "1.8.0"
    },
    "actions": [
      {
        "id": "toggle_light",
        "label": "開燈／關燈",
        "kind": "toggle_light",
        "groups": [],
        "sounds": {
          "toggle_light": {
            "id": "minecraft:block.lever.click",
            "volume": 0.4,
            "pitch": 1.2
          }
        },
        "sound_events": {
          "light_on": {
            "id": "minecraft:block.lever.click",
            "volume": 0.4,
            "pitch": 1.2
          },
          "light_off": {
            "id": "minecraft:block.lever.click",
            "volume": 0.4,
            "pitch": 0.8
          }
        },
        "label_on": "關燈",
        "label_off": "開燈"
      },
      {
        "id": "alarm",
        "label": "響鈴",
        "kind": "sequence",
        "groups": [
          "digits"
        ],
        "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": 8,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 9,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 16,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 17,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 24,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 25,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 32,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 33,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 40,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 41,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 48,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 49,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 60,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ]
        },
        "sounds": {
          "alarm": {
            "id": "minecraft:block.note_block.bell",
            "volume": 0.25,
            "pitch": 1
          }
        },
        "cooldown_ticks": 65,
        "light_timeline": [
          {
            "t": 0,
            "on": [
              "source-light"
            ]
          },
          {
            "t": 9,
            "on": []
          },
          {
            "t": 17,
            "on": [
              "source-light"
            ]
          },
          {
            "t": 25,
            "on": []
          },
          {
            "t": 33,
            "on": [
              "source-light"
            ]
          },
          {
            "t": 41,
            "on": []
          },
          {
            "t": 49,
            "on": [
              "source-light"
            ]
          }
        ],
        "playback": {
          "stop_ticks": 6
        },
        "sound_events": {
          "beep0": {
            "id": "minecraft:block.note_block.bell",
            "volume": 0.25,
            "pitch": 1.5,
            "at_tick": 0,
            "stop_at_tick": 6
          },
          "beep1": {
            "id": "minecraft:block.note_block.bell",
            "volume": 0.25,
            "pitch": 1.5,
            "at_tick": 16,
            "stop_at_tick": 22
          },
          "beep2": {
            "id": "minecraft:block.note_block.bell",
            "volume": 0.25,
            "pitch": 1.5,
            "at_tick": 32,
            "stop_at_tick": 38
          },
          "beep3": {
            "id": "minecraft:block.note_block.bell",
            "volume": 0.25,
            "pitch": 1.5,
            "at_tick": 48,
            "stop_at_tick": 54
          }
        }
      }
    ],
    "actions_schema": "1.7.0",
    "light_toggle": {
      "default": "on",
      "off_block_states": {},
      "remove_brightness": true
    },
    "states": [
      "on",
      "off"
    ],
    "default_state": "on",
    "parts": [
      {
        "id": "body",
        "model_origin": [
          0,
          0,
          0
        ]
      },
      {
        "id": "digits",
        "pivot": [
          0,
          0.095,
          0.09
        ],
        "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": 8,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 9,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 16,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 17,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 24,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 25,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 32,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 33,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 40,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 41,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 48,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 49,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 60,
              "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": "light-click",
        "part_id": "body",
        "center": [
          0.0,
          -0.05,
          -0.0040000000000000036
        ],
        "width": 0.4,
        "height": 0.3,
        "response": true,
        "action": "menu",
        "menu_actions": [
          "alarm",
          "toggle_light"
        ]
      }
    ],
    "default_action": "alarm",
    "sounds": {
      "toggle_light": {
        "id": "minecraft:block.lever.click",
        "volume": 0.4,
        "pitch": 1.2
      },
      "alarm": {
        "id": "minecraft:block.note_block.bell",
        "volume": 0.25,
        "pitch": 1
      }
    },
    "sound_events": {
      "light_on": {
        "id": "minecraft:block.lever.click",
        "volume": 0.4,
        "pitch": 1.2
      },
      "light_off": {
        "id": "minecraft:block.lever.click",
        "volume": 0.4,
        "pitch": 0.8
      }
    },
    "particles": {},
    "action_labels": {
      "toggle_light": "開燈／關燈",
      "alarm": "響鈴"
    },
    "trigger": {
      "type": "click"
    },
    "animation": {
      "duration_ticks": 10,
      "start_delay_ticks": 0,
      "teleport_duration": 0
    }
  }
}
