{
  "id": "breaker",
  "name_zh": "電源總開關",
  "name_en": "Breaker",
  "tag": "de_breaker",
  "category": "electronics",
  "mount": "wall",
  "large": false,
  "size": [
    0.86,
    1,
    0.205
  ],
  "sittable": false,
  "source": "{\"kind\": \"acnh-inspired\", \"name_en\": \"breaker\", \"url\": \"https://docs.google.com/spreadsheets/d/13d_LAJPlxMa_DubPTuirkIV4DERBMXbrWQsmSh8ReK4/export?format=xlsx\"}",
  "parts": [
    {
      "type": "block_display",
      "block": "minecraft:light_gray_concrete",
      "translation": [
        -0.43,
        1.3,
        -0.5
      ],
      "scale": [
        0.86,
        1,
        0.045
      ],
      "note": "wall-flush metal backplate",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.43,
        1.3,
        -0.455
      ],
      "scale": [
        0.04,
        1,
        0.12
      ],
      "note": "enclosure side",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        0.39,
        1.3,
        -0.455
      ],
      "scale": [
        0.04,
        1,
        0.12
      ],
      "note": "enclosure side",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.389,
        1.3,
        -0.455
      ],
      "scale": [
        0.778,
        0.04,
        0.12
      ],
      "note": "enclosure top/bottom",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.389,
        2.26,
        -0.455
      ],
      "scale": [
        0.778,
        0.04,
        0.12
      ],
      "note": "enclosure top/bottom",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:gray_concrete",
      "translation": [
        -0.335,
        1.48,
        -0.455
      ],
      "scale": [
        0.67,
        0.63,
        0.015
      ],
      "note": "inset dark breaker carrier",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.25,
        1.6,
        -0.44
      ],
      "scale": [
        0.14,
        0.18,
        0.052
      ],
      "note": "individual breaker housing",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.215,
        1.655,
        -0.388
      ],
      "scale": [
        0.07,
        0.075,
        0.045
      ],
      "note": "black toggle lever",
      "group": "main_lever"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_terracotta",
      "translation": [
        -0.233,
        1.563,
        -0.439
      ],
      "scale": [
        0.105,
        0.025,
        0.004
      ],
      "note": "circuit label",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.08,
        1.6,
        -0.44
      ],
      "scale": [
        0.14,
        0.18,
        0.052
      ],
      "note": "individual breaker housing",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.045,
        1.655,
        -0.388
      ],
      "scale": [
        0.07,
        0.075,
        0.045
      ],
      "note": "black toggle lever",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_terracotta",
      "translation": [
        -0.063,
        1.563,
        -0.439
      ],
      "scale": [
        0.105,
        0.025,
        0.004
      ],
      "note": "circuit label",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        0.09,
        1.6,
        -0.44
      ],
      "scale": [
        0.14,
        0.18,
        0.052
      ],
      "note": "individual breaker housing",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        0.125,
        1.655,
        -0.388
      ],
      "scale": [
        0.07,
        0.075,
        0.045
      ],
      "note": "black toggle lever",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_terracotta",
      "translation": [
        0.107,
        1.563,
        -0.439
      ],
      "scale": [
        0.105,
        0.025,
        0.004
      ],
      "note": "circuit label",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.25,
        1.85,
        -0.44
      ],
      "scale": [
        0.14,
        0.18,
        0.052
      ],
      "note": "individual breaker housing",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.215,
        1.905,
        -0.388
      ],
      "scale": [
        0.07,
        0.075,
        0.045
      ],
      "note": "black toggle lever",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_terracotta",
      "translation": [
        -0.233,
        1.813,
        -0.439
      ],
      "scale": [
        0.105,
        0.025,
        0.004
      ],
      "note": "circuit label",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.08,
        1.85,
        -0.44
      ],
      "scale": [
        0.14,
        0.18,
        0.052
      ],
      "note": "individual breaker housing",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.045,
        1.905,
        -0.388
      ],
      "scale": [
        0.07,
        0.075,
        0.045
      ],
      "note": "black toggle lever",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_terracotta",
      "translation": [
        -0.063,
        1.813,
        -0.439
      ],
      "scale": [
        0.105,
        0.025,
        0.004
      ],
      "note": "circuit label",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        0.09,
        1.85,
        -0.44
      ],
      "scale": [
        0.14,
        0.18,
        0.052
      ],
      "note": "individual breaker housing",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        0.125,
        1.905,
        -0.388
      ],
      "scale": [
        0.07,
        0.075,
        0.045
      ],
      "note": "black toggle lever",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_terracotta",
      "translation": [
        0.107,
        1.813,
        -0.439
      ],
      "scale": [
        0.105,
        0.025,
        0.004
      ],
      "note": "circuit label",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.39,
        1.35,
        -0.333
      ],
      "scale": [
        0.05,
        0.9,
        0.03
      ],
      "note": "hinged panel side stile",
      "group": "door"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        0.34,
        1.35,
        -0.333
      ],
      "scale": [
        0.05,
        0.9,
        0.03
      ],
      "note": "hinged panel side stile",
      "group": "door"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.339,
        1.35,
        -0.333
      ],
      "scale": [
        0.678,
        0.13,
        0.03
      ],
      "note": "hinged panel rail",
      "group": "door"
    },
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.339,
        2.12,
        -0.333
      ],
      "scale": [
        0.678,
        0.13,
        0.03
      ],
      "note": "hinged panel rail",
      "group": "door"
    },
    {
      "type": "block_display",
      "block": "minecraft:light_gray_concrete",
      "translation": [
        0.34,
        1.7,
        -0.303
      ],
      "scale": [
        0.04,
        0.18,
        0.016
      ],
      "note": "recessed door latch",
      "group": "door"
    },
    {
      "type": "block_display",
      "block": "minecraft:iron_block",
      "translation": [
        -0.409,
        1.53,
        -0.344
      ],
      "scale": [
        0.028,
        0.09,
        0.043
      ],
      "note": "fixed hinge knuckle",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:iron_block",
      "translation": [
        -0.409,
        2.04,
        -0.344
      ],
      "scale": [
        0.028,
        0.09,
        0.043
      ],
      "note": "fixed hinge knuckle",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:yellow_terracotta",
      "translation": [
        -0.22,
        2.145,
        -0.303
      ],
      "scale": [
        0.13,
        0.075,
        0.004
      ],
      "note": "electrical caution label",
      "group": "door"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.165,
        2.163,
        -0.299
      ],
      "scale": [
        0.016,
        0.036,
        0.004
      ],
      "note": "caution symbol",
      "group": "door"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.23,
        1.745,
        -0.389
      ],
      "scale": [
        0.032,
        0.016,
        0.023
      ],
      "group": "power_indicator",
      "note": "總開關送電指示燈",
      "brightness": {
        "block": 15,
        "sky": 15
      }
    }
  ],
  "behavior": {
    "lights": [],
    "collision": {
      "mode": "none",
      "cells_by_state": {
        "closed": [],
        "open": []
      },
      "reason": "other: 維持可穿越；沒有達 50% 實心核心門檻的未覆蓋格位。",
      "policy": "1.8.0"
    },
    "parts": [
      {
        "id": "body",
        "model_origin": [
          0,
          0,
          0
        ]
      },
      {
        "id": "door",
        "pivot": [
          -0.39,
          1.35,
          -0.333
        ],
        "motion": {
          "type": "rotate",
          "axis": "y",
          "degrees": -100
        }
      },
      {
        "id": "main_lever",
        "pivot": [
          -0.18,
          1.69,
          -0.388
        ],
        "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.3007057995,
                  0.0,
                  0.0,
                  0.9537169507
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 16,
              "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": "power_indicator",
        "pivot": [
          -0.214,
          1.753,
          -0.38
        ],
        "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": 16,
              "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"
      }
    ],
    "interactions": [
      {
        "id": "panel-click",
        "part_id": "door",
        "center": [
          0,
          1.35,
          -0.3
        ],
        "width": 0.78,
        "height": 0.9,
        "response": true,
        "action": "menu",
        "menu_actions": [
          "power",
          "open"
        ]
      }
    ],
    "trigger": {
      "type": "click"
    },
    "animation": {
      "duration_ticks": 10,
      "start_delay_ticks": 0,
      "teleport_duration": 0
    },
    "sounds": {
      "open": {
        "id": "minecraft:block.iron_door.open",
        "volume": 0.5,
        "pitch": 1.2
      },
      "power": {
        "id": "minecraft:block.lever.click",
        "volume": 0.22,
        "pitch": 1
      }
    },
    "actions": [
      {
        "id": "open",
        "label": "開箱門／關門",
        "kind": "open",
        "groups": [
          "door"
        ],
        "sounds": {
          "open": {
            "id": "minecraft:block.iron_door.open",
            "volume": 0.5,
            "pitch": 1.2
          }
        },
        "motion": {
          "type": "rotate",
          "axis": "y",
          "degrees": -100
        },
        "sound_events": {
          "open": {
            "id": "minecraft:block.iron_door.open",
            "volume": 0.5,
            "pitch": 1.2
          },
          "close": {
            "id": "minecraft:block.iron_door.close",
            "volume": 0.5,
            "pitch": 1.2
          }
        }
      },
      {
        "id": "power",
        "label": "送電／斷電",
        "kind": "sequence",
        "groups": [
          "main_lever",
          "power_indicator"
        ],
        "sounds": {
          "power": {
            "id": "minecraft:block.lever.click",
            "volume": 0.22,
            "pitch": 1
          }
        },
        "group_motions": {
          "power_indicator": {
            "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": 16,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0,
                    0,
                    1
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              }
            ],
            "one_shot": true
          }
        },
        "playback": {
          "step_ticks": 8
        },
        "interlocks": [
          {
            "group": "door",
            "state": "open",
            "on_change": "block"
          }
        ],
        "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.3007057995,
                  0.0,
                  0.0,
                  0.9537169507
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 16,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ],
          "one_shot": true
        }
      }
    ],
    "actions_schema": "1.7.0",
    "default_action": "power",
    "particles": {},
    "action_labels": {
      "open": "開箱門／關門",
      "power": "送電／斷電"
    },
    "light_toggle": {
      "default": "on",
      "off_block_states": {
        "minecraft:lime_concrete": "minecraft:lime_concrete"
      },
      "remove_brightness": true
    }
  },
  "behavior_version": "1.7",
  "blocks": []
}
