{
  "id": "surveillance-camera",
  "name_zh": "監控攝影機",
  "name_en": "Surveillance Camera",
  "tag": "de_surveillance_camera",
  "category": "electronics",
  "mount": "wall",
  "large": false,
  "sittable": false,
  "size": [
    0.3,
    0.435,
    0.52
  ],
  "blocks": [],
  "parts": [
    {
      "type": "block_display",
      "block": "minecraft:light_gray_concrete",
      "translation": [
        -0.065,
        1.71,
        -0.5
      ],
      "scale": [
        0.13,
        0.22,
        0.028
      ],
      "note": "wall fixing plate",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:gray_concrete",
      "translation": [
        -0.013,
        1.738,
        -0.472
      ],
      "scale": [
        0.026,
        0.018,
        0.005
      ],
      "note": "wall plate screw",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:gray_concrete",
      "translation": [
        -0.013,
        1.88,
        -0.472
      ],
      "scale": [
        0.026,
        0.018,
        0.005
      ],
      "note": "wall plate screw",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:iron_block",
      "translation": [
        -0.0225,
        1.798025,
        -0.487467
      ],
      "scale": [
        0.045,
        0.2172,
        0.045
      ],
      "note": "angled wall mounting arm",
      "left_rotation": [
        0.44803700264035506,
        0.0,
        -0.0,
        0.8940150134449906
      ],
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:gray_concrete",
      "translation": [
        -0.043,
        1.882,
        -0.323
      ],
      "scale": [
        0.086,
        0.07,
        0.086
      ],
      "note": "camera swivel joint",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.13,
        1.94,
        -0.36
      ],
      "scale": [
        0.26,
        0.18,
        0.31
      ],
      "note": "rectangular camera housing",
      "group": "camera_head"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.115,
        2.12,
        -0.345
      ],
      "scale": [
        0.23,
        0.025,
        0.29
      ],
      "note": "eased top casing",
      "group": "camera_head"
    },
    {
      "type": "block_display",
      "block": "minecraft:gray_concrete",
      "translation": [
        -0.108,
        1.966,
        -0.05
      ],
      "scale": [
        0.216,
        0.133,
        0.017
      ],
      "note": "dark lens face",
      "group": "camera_head"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.065,
        1.985,
        -0.033
      ],
      "scale": [
        0.13,
        0.095,
        0.035
      ],
      "note": "lens barrel",
      "group": "camera_head"
    },
    {
      "type": "block_display",
      "block": "minecraft:cyan_terracotta",
      "translation": [
        -0.039,
        2.003,
        0.002
      ],
      "scale": [
        0.078,
        0.059,
        0.009
      ],
      "note": "blue lens glass",
      "group": "camera_head"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.021,
        2.015,
        0.011
      ],
      "scale": [
        0.042,
        0.035,
        0.006
      ],
      "note": "lens pupil",
      "group": "camera_head"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.15,
        2.105,
        -0.11
      ],
      "scale": [
        0.3,
        0.03,
        0.13
      ],
      "note": "protruding weather hood",
      "group": "camera_head"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.15,
        1.985,
        -0.095
      ],
      "scale": [
        0.02,
        0.12,
        0.115
      ],
      "note": "lens hood side cheek",
      "group": "camera_head"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        0.13,
        1.985,
        -0.095
      ],
      "scale": [
        0.02,
        0.12,
        0.115
      ],
      "note": "lens hood side cheek",
      "group": "camera_head"
    },
    {
      "type": "block_display",
      "block": "minecraft:red_concrete",
      "translation": [
        0.075,
        1.987,
        -0.033
      ],
      "scale": [
        0.015,
        0.015,
        0.01
      ],
      "note": "red status light",
      "group": "recording_led",
      "brightness": {
        "block": 15,
        "sky": 15
      }
    }
  ],
  "behavior": {
    "actions_schema": "1.7.0",
    "parts": [
      {
        "id": "body",
        "model_origin": [
          0,
          0,
          0
        ]
      },
      {
        "id": "camera_head",
        "pivot": [
          0,
          1.917,
          -0.28
        ],
        "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": 30,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0.17364817766693033,
                  0,
                  0.984807753012208
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 64,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  -0.17364817766693033,
                  0,
                  0.984807753012208
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 86,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 90,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ],
          "one_shot": true
        },
        "rest_pose": "t0"
      },
      {
        "id": "recording_led",
        "pivot": [
          0,
          1.917,
          -0.28
        ],
        "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": 30,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0.17364817766693033,
                  0,
                  0.984807753012208
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 64,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  -0.17364817766693033,
                  0,
                  0.984807753012208
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 86,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 90,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ],
          "one_shot": true
        },
        "rest_pose": "t0"
      }
    ],
    "lights": [
      {
        "id": "recording",
        "level": 3,
        "point": [
          0.08,
          1.99,
          0
        ],
        "required": false,
        "candidate_offsets": [
          [
            0,
            1,
            0
          ]
        ]
      }
    ],
    "collision": {
      "mode": "none",
      "cells_by_state": {
        "closed": [],
        "open": []
      },
      "reason": "other: 維持可穿越；沒有達 50% 實心核心門檻的未覆蓋格位。",
      "policy": "1.8.0"
    },
    "trigger": {
      "type": "click"
    },
    "animation": {
      "duration_ticks": 10,
      "start_delay_ticks": 0,
      "teleport_duration": 0
    },
    "actions": [
      {
        "id": "record",
        "label": "拍攝",
        "kind": "sequence",
        "groups": [
          "camera_head",
          "recording_led"
        ],
        "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": 30,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0.17364817766693033,
                  0,
                  0.984807753012208
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 64,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  -0.17364817766693033,
                  0,
                  0.984807753012208
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 86,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 90,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ],
          "one_shot": true
        },
        "group_motions": {
          "camera_head": {
            "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": 30,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0.17364817766693033,
                    0,
                    0.984807753012208
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 64,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    -0.17364817766693033,
                    0,
                    0.984807753012208
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 86,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0,
                    0,
                    1
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 90,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0,
                    0,
                    1
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              }
            ],
            "one_shot": true
          },
          "recording_led": {
            "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": 30,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0.17364817766693033,
                    0,
                    0.984807753012208
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 64,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    -0.17364817766693033,
                    0,
                    0.984807753012208
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 86,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0,
                    0,
                    1
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 90,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0,
                    0,
                    1
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              }
            ],
            "one_shot": true
          }
        },
        "sounds": {
          "record": {
            "id": "minecraft:block.note_block.bell",
            "volume": 0.12,
            "pitch": 1.5
          }
        },
        "playback": {
          "stop_ticks": 6
        },
        "light_timeline": [
          {
            "t": 0,
            "on": []
          },
          {
            "t": 8,
            "on": [
              "recording"
            ]
          },
          {
            "t": 90,
            "on": []
          }
        ]
      }
    ],
    "interactions": [
      {
        "id": "record-click",
        "part_id": "camera_head",
        "center": [
          0,
          1.91,
          -0.05
        ],
        "width": 0.3,
        "height": 0.3,
        "response": true,
        "action": "record"
      }
    ],
    "light_toggle": {
      "default": "on",
      "off_block_states": {},
      "remove_brightness": true
    },
    "default_action": "record",
    "sounds": {
      "record": {
        "id": "minecraft:block.note_block.bell",
        "volume": 0.12,
        "pitch": 1.5
      }
    },
    "particles": {},
    "action_labels": {
      "record": "拍攝"
    }
  },
  "behavior_version": "1.7"
}
