{
  "id": "laptop",
  "name_zh": "筆電",
  "name_en": "Laptop",
  "tag": "de_laptop",
  "category": "electronics",
  "large": false,
  "size": [
    0.34,
    0.238,
    0.288
  ],
  "source": "ph1-road in-game build",
  "imported_from": "out/building-dex/display-entity-01/_reference/laptop.mcfunction",
  "imported_by": "display_entity_import_mcfunction.py",
  "blocks": [],
  "parts": [
    {
      "type": "block_display",
      "block": "minecraft:light_gray_concrete",
      "pos": [
        0,
        0.01,
        0
      ],
      "translation": [
        -0.17,
        -0.01,
        -0.12
      ],
      "scale": [
        0.34,
        0.02,
        0.24
      ],
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:light_gray_concrete",
      "translation": [
        -0.17,
        0.04,
        -0.1483
      ],
      "scale": [
        0.34,
        0.015,
        0.24
      ],
      "note": "closed screen backing",
      "group": "screen_lid"
    },
    {
      "type": "block_display",
      "block": "minecraft:gray_concrete",
      "translation": [
        -0.15,
        0.027,
        -0.1283
      ],
      "scale": [
        0.3,
        0.012,
        0.2
      ],
      "note": "inward screen face with 0.001 backing separation",
      "group": "screen_lid"
    },
    {
      "type": "block_display",
      "block": "minecraft:light_gray_concrete",
      "translation": [
        -0.17,
        0.02,
        0.0787
      ],
      "scale": [
        0.34,
        0.02,
        0.026
      ],
      "note": "rear keyboard hinge bridge",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:sea_lantern",
      "translation": [
        0.125,
        0.012,
        0.136
      ],
      "scale": [
        0.024,
        0.009,
        0.008
      ],
      "note": "power status LED on front edge of laptop base",
      "group": "power_led",
      "brightness": {
        "block": 15,
        "sky": 15
      }
    },
    {
      "type": "block_display",
      "block": "minecraft:light_blue_concrete",
      "translation": [
        -0.13,
        0.016,
        -0.1083
      ],
      "scale": [
        0.26,
        0.003,
        0.16
      ],
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "note": "開蓋後的獨立亮屏畫面",
      "group": "screen_image"
    },
    {
      "type": "block_display",
      "block": "minecraft:prismarine_bricks",
      "translation": [
        0.125,
        0.012,
        0.119
      ],
      "scale": [
        0.024,
        0.009,
        0.008
      ],
      "note": "power status LED on front edge of laptop base",
      "group": "body"
    }
  ],
  "behavior": {
    "lights": [
      {
        "id": "screen",
        "level": 6,
        "point": [
          0,
          0.033,
          -0.0283
        ],
        "required": false,
        "candidate_offsets": [
          [
            0,
            1,
            0
          ],
          [
            1,
            0,
            0
          ],
          [
            -1,
            0,
            0
          ],
          [
            0,
            0,
            1
          ],
          [
            0,
            0,
            -1
          ]
        ]
      }
    ],
    "collision": {
      "mode": "none",
      "cells_by_state": {
        "closed": [],
        "open": []
      },
      "reason": "other: 維持可穿越；沒有達 50% 實心核心門檻的未覆蓋格位。",
      "policy": "1.8.0"
    },
    "parts": [
      {
        "id": "body",
        "model_origin": [
          0,
          0,
          0
        ]
      },
      {
        "id": "screen_lid",
        "pivot": [
          0,
          0.025,
          0.0917
        ],
        "motion": {
          "type": "rotate",
          "axis": "x",
          "degrees": 105
        }
      },
      {
        "id": "screen_image",
        "pivot": [
          0,
          0.025,
          0.0917
        ],
        "motion": {
          "type": "sequence",
          "one_shot": true,
          "keyframes": [
            {
              "t": 0,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.0,
                  0,
                  0,
                  1.0
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 1,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.49999999999999994,
                  0,
                  0,
                  0.8660254037844387
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 2,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.7933533402912352,
                  0,
                  0,
                  0.6087614290087207
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 1198,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.7933533402912352,
                  0,
                  0,
                  0.6087614290087207
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 1199,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.49999999999999994,
                  0,
                  0,
                  0.8660254037844387
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 1200,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.0,
                  0,
                  0,
                  1.0
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ]
        },
        "rest_pose": "t0"
      },
      {
        "id": "power_led",
        "pivot": [
          0.137,
          0.016,
          0.14
        ],
        "motion": {
          "type": "sequence",
          "keyframes": [
            {
              "t": 0,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.0,
                  0.0,
                  0.0,
                  1.0
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 1,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.0,
                  0.0,
                  0.0,
                  1.0
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 1199,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.0,
                  0.0,
                  0.0,
                  1.0
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 1200,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.0,
                  0.0,
                  0.0,
                  1.0
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ],
          "one_shot": true
        },
        "rest_pose": "t0"
      }
    ],
    "interactions": [
      {
        "id": "screen_lid-click",
        "part_id": "screen_lid",
        "center": [
          0.0,
          -0.10899999999999999,
          -0.028299999999999992
        ],
        "width": 0.34,
        "height": 0.3,
        "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.wooden_door.open",
        "volume": 0.7,
        "pitch": 1
      },
      "power": {
        "id": "minecraft:block.note_block.bell",
        "volume": 0.12,
        "pitch": 1,
        "interval_ticks": 1200
      }
    },
    "actions": [
      {
        "id": "open",
        "label": "掀開／闔上",
        "kind": "open",
        "groups": [
          "screen_lid"
        ],
        "sounds": {
          "open": {
            "id": "minecraft:block.wooden_door.open",
            "volume": 0.7,
            "pitch": 1
          }
        },
        "motion": {
          "type": "rotate",
          "axis": "x",
          "degrees": 105
        },
        "sound_events": {
          "open": {
            "id": "minecraft:block.wooden_door.open",
            "volume": 0.7,
            "pitch": 1
          },
          "close": {
            "id": "minecraft:block.wooden_door.close",
            "volume": 0.7,
            "pitch": 1
          }
        }
      },
      {
        "id": "power",
        "label": "開機／關機",
        "kind": "sequence",
        "groups": [
          "screen_image",
          "power_led"
        ],
        "motion": {
          "type": "sequence",
          "one_shot": true,
          "keyframes": [
            {
              "t": 0,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.0,
                  0,
                  0,
                  1.0
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 1,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.49999999999999994,
                  0,
                  0,
                  0.8660254037844387
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 2,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.7933533402912352,
                  0,
                  0,
                  0.6087614290087207
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 1198,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.7933533402912352,
                  0,
                  0,
                  0.6087614290087207
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 1199,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.49999999999999994,
                  0,
                  0,
                  0.8660254037844387
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 1200,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0.0,
                  0,
                  0,
                  1.0
                ],
                "scale": [
                  0,
                  0,
                  0
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ]
        },
        "sounds": {
          "power": {
            "id": "minecraft:block.note_block.bell",
            "volume": 0.12,
            "pitch": 1,
            "interval_ticks": 1200
          }
        },
        "group_motions": {
          "screen_image": {
            "type": "sequence",
            "one_shot": true,
            "keyframes": [
              {
                "t": 0,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0.0,
                    0,
                    0,
                    1.0
                  ],
                  "scale": [
                    0,
                    0,
                    0
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 1,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0.49999999999999994,
                    0,
                    0,
                    0.8660254037844387
                  ],
                  "scale": [
                    0,
                    0,
                    0
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 2,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0.7933533402912352,
                    0,
                    0,
                    0.6087614290087207
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 1198,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0.7933533402912352,
                    0,
                    0,
                    0.6087614290087207
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 1199,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0.49999999999999994,
                    0,
                    0,
                    0.8660254037844387
                  ],
                  "scale": [
                    0,
                    0,
                    0
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 1200,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0.0,
                    0,
                    0,
                    1.0
                  ],
                  "scale": [
                    0,
                    0,
                    0
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              }
            ]
          },
          "power_led": {
            "type": "sequence",
            "keyframes": [
              {
                "t": 0,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0.0,
                    0.0,
                    0.0,
                    1.0
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 1,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0.0,
                    0.0,
                    0.0,
                    1.0
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 1199,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0.0,
                    0.0,
                    0.0,
                    1.0
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              },
              {
                "t": 1200,
                "transform": {
                  "translation": [
                    0,
                    0,
                    0
                  ],
                  "left_rotation": [
                    0.0,
                    0.0,
                    0.0,
                    1.0
                  ],
                  "scale": [
                    1,
                    1,
                    1
                  ],
                  "right_rotation": [
                    0,
                    0,
                    0,
                    1
                  ]
                }
              }
            ],
            "one_shot": true
          }
        },
        "playback": {
          "loop": true,
          "stop_ticks": 6
        },
        "interlocks": [
          {
            "group": "screen_lid",
            "state": "open",
            "on_change": "stop"
          }
        ],
        "light_timeline": [
          {
            "t": 0,
            "on": []
          },
          {
            "t": 2,
            "on": [
              "screen"
            ]
          },
          {
            "t": 1200,
            "on": []
          }
        ]
      }
    ],
    "actions_schema": "1.7.0",
    "light_toggle": {
      "default": "on",
      "off_block_states": {
        "minecraft:sea_lantern": "minecraft:prismarine_bricks"
      },
      "remove_brightness": true
    },
    "states": [
      "on",
      "off"
    ],
    "default_state": "on",
    "default_action": "power",
    "particles": {},
    "action_labels": {
      "open": "掀開／闔上",
      "power": "開機／關機"
    }
  }
}
