{
  "id": "cube-light",
  "name_zh": "方塊燈",
  "name_en": "Cube Light",
  "tag": "de_cube_light",
  "category": "lamp",
  "mount": "tabletop",
  "large": false,
  "sittable": false,
  "size": [
    0.5,
    0.54,
    0.5
  ],
  "blocks": [],
  "parts": [
    {
      "type": "block_display",
      "block": "minecraft:white_concrete",
      "translation": [
        -0.25,
        0.05,
        -0.25
      ],
      "scale": [
        0.5,
        0.49,
        0.5
      ],
      "note": "uniform luminous square-faced cube",
      "brightness": {
        "block": 15,
        "sky": 15
      }
    },
    {
      "type": "block_display",
      "block": "minecraft:quartz_block",
      "translation": [
        -0.23,
        0.0,
        -0.23
      ],
      "scale": [
        0.46,
        0.05,
        0.46
      ],
      "note": "subtle recessed square plinth"
    }
  ],
  "behavior": {
    "lights": [
      {
        "id": "light_1",
        "level": 14,
        "point": [
          0,
          0.295,
          0
        ],
        "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": "small_decor: 桌面擺設不產生碰撞。",
      "policy": "1.8.0"
    },
    "actions": [
      {
        "id": "toggle_light",
        "label": "開燈／關燈",
        "kind": "toggle_light",
        "groups": [],
        "sounds": {
          "toggle_light": {
            "id": "minecraft:block.lever.click",
            "volume": 0.4,
            "pitch": 1.2
          }
        },
        "sound_events": {
          "light_on": {
            "id": "minecraft:block.lever.click",
            "volume": 0.4,
            "pitch": 1.2
          },
          "light_off": {
            "id": "minecraft:block.lever.click",
            "volume": 0.4,
            "pitch": 0.8
          }
        },
        "label_on": "關燈",
        "label_off": "開燈"
      }
    ],
    "actions_schema": "1.5.1",
    "light_toggle": {
      "default": "on",
      "off_block_states": {},
      "remove_brightness": true
    },
    "states": [
      "on",
      "off"
    ],
    "default_state": "on",
    "parts": [
      {
        "id": "body",
        "model_origin": [
          0,
          0,
          0
        ]
      }
    ],
    "interactions": [
      {
        "id": "light-click",
        "part_id": "body",
        "center": [
          0.0,
          0.0,
          0.0
        ],
        "width": 0.5,
        "height": 0.54,
        "response": true,
        "action": "toggle_light"
      }
    ],
    "default_action": "toggle_light",
    "sounds": {
      "toggle_light": {
        "id": "minecraft:block.lever.click",
        "volume": 0.4,
        "pitch": 1.2
      }
    },
    "animations": [
      "light_on",
      "light_off"
    ],
    "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": "開燈／關燈"
    }
  }
}
