{
  "id": "crosswalk-signal",
  "name_zh": "行人紅綠燈",
  "name_en": "Crosswalk Signal",
  "tag": "de_crosswalk_signal",
  "category": "electronics",
  "mount": "floor",
  "large": false,
  "sittable": false,
  "size": [
    0.72,
    2.4,
    0.56
  ],
  "blocks": [],
  "parts": [
    {
      "type": "block_display",
      "block": "minecraft:polished_blackstone",
      "translation": [
        -0.24,
        0,
        -0.24
      ],
      "scale": [
        0.48,
        0.08,
        0.48
      ],
      "note": "weighted foot",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:iron_block",
      "translation": [
        -0.12,
        0.08,
        -0.12
      ],
      "scale": [
        0.24,
        0.12,
        0.24
      ],
      "note": "pole socket",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:gray_concrete",
      "translation": [
        -0.055,
        0.2,
        -0.055
      ],
      "scale": [
        0.11,
        2.08,
        0.11
      ],
      "note": "slim steel pole",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:gray_concrete",
      "translation": [
        -0.32,
        1.65,
        -0.18
      ],
      "scale": [
        0.64,
        0.69,
        0.36
      ],
      "note": "signal housing",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:gray_concrete",
      "translation": [
        -0.28,
        2.34,
        -0.16
      ],
      "scale": [
        0.56,
        0.06,
        0.32
      ],
      "note": "eased crown",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.275,
        1.695,
        0.18
      ],
      "scale": [
        0.55,
        0.59,
        0.026
      ],
      "note": "recessed dark lens",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:polished_blackstone",
      "translation": [
        -0.36,
        2.29,
        -0.185
      ],
      "scale": [
        0.72,
        0.055,
        0.505
      ],
      "note": "sun hood",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.0074,
        2.114,
        0.206
      ],
      "scale": [
        0.0552,
        0.0184,
        0.012
      ],
      "note": "lit walker head chord 1",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "walk_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.00716,
        2.1324,
        0.206
      ],
      "scale": [
        0.084319,
        0.0184,
        0.012
      ],
      "note": "lit walker head chord 2",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "walk_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.011,
        2.1508,
        0.206
      ],
      "scale": [
        0.092,
        0.0184,
        0.012
      ],
      "note": "lit walker head chord 3",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "walk_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.00716,
        2.1692,
        0.206
      ],
      "scale": [
        0.084319,
        0.0184,
        0.012
      ],
      "note": "lit walker head chord 4",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "walk_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.0074,
        2.1876,
        0.206
      ],
      "scale": [
        0.0552,
        0.0184,
        0.012
      ],
      "note": "lit walker head chord 5",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "walk_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.040224,
        2.093694,
        0.207
      ],
      "scale": [
        0.052,
        0.164924,
        0.012
      ],
      "note": "walking torso",
      "left_rotation": [
        0,
        0,
        0.992507556682903,
        0.12218326369570434
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "walk_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.006247,
        2.049728,
        0.222
      ],
      "scale": [
        0.033,
        0.118849,
        0.012
      ],
      "note": "back arm",
      "left_rotation": [
        0,
        0,
        0.8302508192469621,
        0.5573899686393254
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "walk_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.120307,
        2.007116,
        0.225
      ],
      "scale": [
        0.033,
        0.064031,
        0.012
      ],
      "note": "bent elbow",
      "left_rotation": [
        0,
        0,
        0.4331887304891342,
        0.9013032363068559
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "walk_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.018685,
        2.074029,
        0.222
      ],
      "scale": [
        0.033,
        0.123491,
        0.012
      ],
      "note": "forward arm",
      "left_rotation": [
        0,
        0,
        -0.8736001987798238,
        0.4866443184625219
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "walk_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.005417,
        1.94228,
        0.222
      ],
      "scale": [
        0.033,
        0.192354,
        0.012
      ],
      "note": "back leg",
      "left_rotation": [
        0,
        0,
        0.9705122143350545,
        0.24105194839799396
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "walk_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        -0.004831,
        1.962994,
        0.225
      ],
      "scale": [
        0.033,
        0.146031,
        0.012
      ],
      "note": "forward thigh",
      "left_rotation": [
        0,
        0,
        -0.8989739322299924,
        0.4380021337515891
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "walk_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:lime_concrete",
      "translation": [
        0.113427,
        1.86959,
        0.222
      ],
      "scale": [
        0.033,
        0.086023,
        0.012
      ],
      "note": "forward shin",
      "left_rotation": [
        0,
        0,
        -0.9522955085494038,
        0.3051774310079833
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "group": "walk_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:yellow_concrete",
      "translation": [
        -0.1,
        1.03,
        0.055
      ],
      "scale": [
        0.2,
        0.21,
        0.08
      ],
      "note": "pedestrian button case",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.048,
        1.087,
        0.135
      ],
      "scale": [
        0.096,
        0.085,
        0.018
      ],
      "note": "push button",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:red_concrete",
      "translation": [
        -0.04,
        2.12,
        0.241
      ],
      "scale": [
        0.08,
        0.08,
        0.012
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "note": "停等紅人",
      "group": "stop_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:red_concrete",
      "translation": [
        -0.035,
        1.94,
        0.241
      ],
      "scale": [
        0.07,
        0.17,
        0.012
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "note": "停等紅人",
      "group": "stop_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:red_concrete",
      "translation": [
        -0.09,
        1.96,
        0.241
      ],
      "scale": [
        0.035,
        0.15,
        0.012
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "note": "停等紅人",
      "group": "stop_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:red_concrete",
      "translation": [
        0.055,
        1.96,
        0.241
      ],
      "scale": [
        0.035,
        0.15,
        0.012
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "note": "停等紅人",
      "group": "stop_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:red_concrete",
      "translation": [
        -0.055,
        1.78,
        0.241
      ],
      "scale": [
        0.04,
        0.15,
        0.012
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "note": "停等紅人",
      "group": "stop_symbol"
    },
    {
      "type": "block_display",
      "block": "minecraft:red_concrete",
      "translation": [
        0.015,
        1.78,
        0.241
      ],
      "scale": [
        0.04,
        0.15,
        0.012
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "note": "停等紅人",
      "group": "stop_symbol"
    }
  ],
  "behavior": {
    "lights": [
      {
        "id": "source-light",
        "level": 6,
        "point": [
          -0.00344,
          1.98914,
          0.2215
        ],
        "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": "other: 維持可穿越；沒有達 50% 實心核心門檻的未覆蓋格位。",
      "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": "signal_cycle",
        "label": "切換號誌",
        "kind": "sequence",
        "groups": [
          "stop_symbol",
          "walk_symbol"
        ],
        "motion": {
          "type": "sequence",
          "keyframes": [
            {
              "t": 0,
              "transform": {
                "translation": [
                  0,
                  0,
                  0.2
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 28,
              "transform": {
                "translation": [
                  0,
                  0,
                  0.2
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 29,
              "transform": {
                "translation": [
                  0,
                  0,
                  0.2
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 130,
              "transform": {
                "translation": [
                  0,
                  0,
                  0.2
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 131,
              "transform": {
                "translation": [
                  0,
                  0,
                  0.2
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 160,
              "transform": {
                "translation": [
                  0,
                  0,
                  0.2
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ],
          "one_shot": true
        },
        "sounds": {
          "signal_cycle": {
            "id": "minecraft:block.note_block.bell",
            "volume": 0.15,
            "pitch": 1
          }
        },
        "group_motions": {
          "walk_symbol": {
            "type": "sequence",
            "keyframes": [
              {
                "t": 0,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0,
                    0,
                    1
                  ],
                  "scale": [
                    0,
                    0,
                    0
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 29,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0,
                    0,
                    1
                  ],
                  "scale": [
                    0,
                    0,
                    0
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 30,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0,
                    0,
                    1
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 129,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0,
                    0,
                    1
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 130,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0,
                    0,
                    1
                  ],
                  "scale": [
                    0,
                    0,
                    0
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 160,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0,
                    0,
                    0,
                    1
                  ],
                  "scale": [
                    0,
                    0,
                    0
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              }
            ],
            "one_shot": true
          }
        },
        "cooldown_ticks": 160,
        "sound_events": {
          "passage": {
            "id": "minecraft:block.note_block.bell",
            "volume": 0.12,
            "pitch": 1.3,
            "at_tick": 30,
            "stop_at_tick": 130
          }
        },
        "light_timeline": [
          {
            "t": 0,
            "on": [
              "source-light"
            ]
          },
          {
            "t": 29,
            "on": []
          },
          {
            "t": 30,
            "on": [
              "source-light"
            ]
          },
          {
            "t": 130,
            "on": []
          },
          {
            "t": 131,
            "on": [
              "source-light"
            ]
          }
        ]
      }
    ],
    "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": "walk_symbol",
        "pivot": [
          0,
          1.99,
          0.22
        ],
        "motion": {
          "type": "sequence",
          "keyframes": [
            {
              "t": 0,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 29,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 30,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 129,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 130,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 160,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ],
          "one_shot": true
        },
        "rest_pose": "t0"
      },
      {
        "id": "stop_symbol",
        "pivot": [
          0,
          1.99,
          0.064
        ],
        "motion": {
          "type": "sequence",
          "keyframes": [
            {
              "t": 0,
              "transform": {
                "translation": [
                  0,
                  0,
                  0.2
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 28,
              "transform": {
                "translation": [
                  0,
                  0,
                  0.2
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 29,
              "transform": {
                "translation": [
                  0,
                  0,
                  0.2
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 130,
              "transform": {
                "translation": [
                  0,
                  0,
                  0.2
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 131,
              "transform": {
                "translation": [
                  0,
                  0,
                  0.2
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 160,
              "transform": {
                "translation": [
                  0,
                  0,
                  0.2
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ],
          "one_shot": true
        },
        "rest_pose": "t0"
      }
    ],
    "interactions": [
      {
        "id": "light-click",
        "part_id": "body",
        "center": [
          0,
          1.02,
          0.18
        ],
        "width": 0.3,
        "height": 0.3,
        "response": true,
        "action": "menu",
        "menu_actions": [
          "signal_cycle",
          "toggle_light"
        ]
      }
    ],
    "default_action": "signal_cycle",
    "sounds": {
      "toggle_light": {
        "id": "minecraft:block.lever.click",
        "volume": 0.4,
        "pitch": 1.2
      },
      "signal_cycle": {
        "id": "minecraft:block.note_block.bell",
        "volume": 0.15,
        "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": "開燈／關燈",
      "signal_cycle": "切換號誌"
    }
  }
}
