{
  "id": "spooky-trick-lamp",
  "name_zh": "萬聖節搗蛋燈",
  "name_en": "Spooky Trick Lamp",
  "tag": "de_spooky_trick_lamp",
  "category": "lamp",
  "mount": "tabletop",
  "series": "spooky",
  "large": false,
  "size": [
    0.86,
    0.545,
    0.75
  ],
  "sittable": false,
  "source": "acnh-inspired: spooky trick lamp — https://docs.google.com/spreadsheets/d/13d_LAJPlxMa_DubPTuirkIV4DERBMXbrWQsmSh8ReK4/export?format=xlsx",
  "parts": [
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.18834,
        0.0,
        -0.29425
      ],
      "scale": [
        0.37668,
        0.06,
        0.0657
      ],
      "note": "rounded rear pumpkin shell chord 1",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.287694,
        0.0,
        -0.22855
      ],
      "scale": [
        0.575388,
        0.06,
        0.0657
      ],
      "note": "rounded rear pumpkin shell chord 2",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.3139,
        0.0,
        -0.16285
      ],
      "scale": [
        0.6278,
        0.06,
        0.0657
      ],
      "note": "rounded rear pumpkin shell chord 3",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.287694,
        0.0,
        -0.09715
      ],
      "scale": [
        0.575388,
        0.06,
        0.0657
      ],
      "note": "rounded rear pumpkin shell chord 4",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.18834,
        0.0,
        -0.03145
      ],
      "scale": [
        0.37668,
        0.06,
        0.0657
      ],
      "note": "rounded rear pumpkin shell chord 5",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.258,
        0.06,
        -0.355
      ],
      "scale": [
        0.516,
        0.33,
        0.09
      ],
      "note": "rounded rear pumpkin shell chord 1",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.394102,
        0.06,
        -0.265
      ],
      "scale": [
        0.788203,
        0.33,
        0.09
      ],
      "note": "rounded rear pumpkin shell chord 2",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.43,
        0.06,
        -0.175
      ],
      "scale": [
        0.86,
        0.33,
        0.09
      ],
      "note": "rounded rear pumpkin shell chord 3",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.394102,
        0.06,
        -0.085
      ],
      "scale": [
        0.788203,
        0.33,
        0.09
      ],
      "note": "rounded rear pumpkin shell chord 4",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.258,
        0.06,
        0.005
      ],
      "scale": [
        0.516,
        0.33,
        0.09
      ],
      "note": "rounded rear pumpkin shell chord 5",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.21156,
        0.39,
        -0.3145
      ],
      "scale": [
        0.42312,
        0.08,
        0.0738
      ],
      "note": "rounded rear pumpkin shell chord 1",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.323163,
        0.39,
        -0.2407
      ],
      "scale": [
        0.646326,
        0.08,
        0.0738
      ],
      "note": "rounded rear pumpkin shell chord 2",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.3526,
        0.39,
        -0.1669
      ],
      "scale": [
        0.7052,
        0.08,
        0.0738
      ],
      "note": "rounded rear pumpkin shell chord 3",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.323163,
        0.39,
        -0.0931
      ],
      "scale": [
        0.646326,
        0.08,
        0.0738
      ],
      "note": "rounded rear pumpkin shell chord 4",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.21156,
        0.39,
        -0.0193
      ],
      "scale": [
        0.42312,
        0.08,
        0.0738
      ],
      "note": "rounded rear pumpkin shell chord 5",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.222,
        0.002,
        -0.28
      ],
      "scale": [
        0.444,
        0.06,
        0.128
      ],
      "note": "opening curved rim chord 1",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.339111,
        0.002,
        -0.152
      ],
      "scale": [
        0.678221,
        0.06,
        0.128
      ],
      "note": "opening curved rim chord 2",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.37,
        0.002,
        -0.024
      ],
      "scale": [
        0.74,
        0.06,
        0.128
      ],
      "note": "opening curved rim chord 3",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.339111,
        0.002,
        0.104
      ],
      "scale": [
        0.678221,
        0.06,
        0.128
      ],
      "note": "opening curved rim chord 4",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.222,
        0.002,
        0.232
      ],
      "scale": [
        0.444,
        0.06,
        0.128
      ],
      "note": "opening curved rim chord 5",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.222,
        0.4,
        -0.28
      ],
      "scale": [
        0.444,
        0.06,
        0.128
      ],
      "note": "opening curved rim chord 1",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.339111,
        0.4,
        -0.152
      ],
      "scale": [
        0.678221,
        0.06,
        0.128
      ],
      "note": "opening curved rim chord 2",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.37,
        0.4,
        -0.024
      ],
      "scale": [
        0.74,
        0.06,
        0.128
      ],
      "note": "opening curved rim chord 3",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.339111,
        0.4,
        0.104
      ],
      "scale": [
        0.678221,
        0.06,
        0.128
      ],
      "note": "opening curved rim chord 4",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.222,
        0.4,
        0.232
      ],
      "scale": [
        0.444,
        0.06,
        0.128
      ],
      "note": "opening curved rim chord 5",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.39,
        0.06,
        0.05
      ],
      "scale": [
        0.08,
        0.34,
        0.23
      ],
      "note": "pumpkin side jamb",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        0.31,
        0.06,
        0.05
      ],
      "scale": [
        0.08,
        0.34,
        0.23
      ],
      "note": "pumpkin side jamb",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:ochre_froglight",
      "translation": [
        -0.3,
        0.065,
        0.1
      ],
      "scale": [
        0.6,
        0.33,
        0.025
      ],
      "note": "recessed warm theatre",
      "group": "body",
      "brightness": {
        "block": 15,
        "sky": 15
      }
    },
    {
      "type": "block_display",
      "block": "minecraft:brown_terracotta",
      "translation": [
        -0.2,
        0.085,
        0.129
      ],
      "scale": [
        0.4,
        0.018,
        0.018
      ],
      "note": "silhouette ground",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:brown_terracotta",
      "translation": [
        -0.11,
        0.103,
        0.129
      ],
      "scale": [
        0.22,
        0.177,
        0.018
      ],
      "note": "haunted house silhouette",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:brown_terracotta",
      "translation": [
        -0.15,
        0.28,
        0.129
      ],
      "scale": [
        0.3,
        0.035,
        0.018
      ],
      "note": "haunted house eaves",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:brown_terracotta",
      "translation": [
        -0.095,
        0.315,
        0.129
      ],
      "scale": [
        0.19,
        0.04,
        0.018
      ],
      "note": "stepped haunted roof",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:ochre_froglight",
      "translation": [
        -0.07,
        0.19,
        0.147
      ],
      "scale": [
        0.035,
        0.052,
        0.005
      ],
      "note": "glowing house windows",
      "group": "body",
      "brightness": {
        "block": 15,
        "sky": 15
      }
    },
    {
      "type": "block_display",
      "block": "minecraft:ochre_froglight",
      "translation": [
        0.036,
        0.19,
        0.147
      ],
      "scale": [
        0.035,
        0.052,
        0.005
      ],
      "note": "glowing house windows",
      "group": "body",
      "brightness": {
        "block": 15,
        "sky": 15
      }
    },
    {
      "type": "block_display",
      "block": "minecraft:ochre_froglight",
      "translation": [
        -0.022,
        0.104,
        0.147
      ],
      "scale": [
        0.044,
        0.065,
        0.005
      ],
      "note": "glowing house doorway",
      "group": "body",
      "brightness": {
        "block": 15,
        "sky": 15
      }
    },
    {
      "type": "block_display",
      "block": "minecraft:green_terracotta",
      "translation": [
        -0.038,
        0.47,
        -0.05
      ],
      "scale": [
        0.076,
        0.075,
        0.09
      ],
      "note": "green stem",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.31,
        0.065,
        0.279
      ],
      "scale": [
        0.306,
        0.332,
        0.037
      ],
      "note": "hinged pumpkin face half",
      "group": "left_face"
    },
    {
      "type": "block_display",
      "block": "minecraft:brown_terracotta",
      "translation": [
        -0.203,
        0.26,
        0.316
      ],
      "scale": [
        0.086,
        0.07,
        0.006
      ],
      "note": "playful carved eye",
      "group": "left_face"
    },
    {
      "type": "block_display",
      "block": "minecraft:brown_terracotta",
      "translation": [
        -0.29,
        0.14,
        0.316
      ],
      "scale": [
        0.266,
        0.055,
        0.006
      ],
      "note": "wide pumpkin grin",
      "group": "left_face"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        -0.21,
        0.17,
        0.322
      ],
      "scale": [
        0.045,
        0.046,
        0.006
      ],
      "note": "square grin tooth",
      "group": "left_face"
    },
    {
      "type": "block_display",
      "block": "minecraft:gold_block",
      "translation": [
        -0.059,
        0.212,
        0.316
      ],
      "scale": [
        0.028,
        0.028,
        0.019
      ],
      "note": "small door knob",
      "group": "left_face"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        0.004,
        0.065,
        0.279
      ],
      "scale": [
        0.306,
        0.332,
        0.037
      ],
      "note": "hinged pumpkin face half",
      "group": "right_face"
    },
    {
      "type": "block_display",
      "block": "minecraft:brown_terracotta",
      "translation": [
        0.117,
        0.26,
        0.316
      ],
      "scale": [
        0.086,
        0.07,
        0.006
      ],
      "note": "playful carved eye",
      "group": "right_face"
    },
    {
      "type": "block_display",
      "block": "minecraft:brown_terracotta",
      "translation": [
        0.024,
        0.14,
        0.316
      ],
      "scale": [
        0.266,
        0.055,
        0.006
      ],
      "note": "wide pumpkin grin",
      "group": "right_face"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        0.104,
        0.17,
        0.322
      ],
      "scale": [
        0.045,
        0.046,
        0.006
      ],
      "note": "square grin tooth",
      "group": "right_face"
    },
    {
      "type": "block_display",
      "block": "minecraft:gold_block",
      "translation": [
        0.031,
        0.212,
        0.316
      ],
      "scale": [
        0.028,
        0.028,
        0.019
      ],
      "note": "small door knob",
      "group": "right_face"
    }
  ],
  "behavior": {
    "lights": [
      {
        "id": "warm-0",
        "level": 12,
        "point": [
          0,
          0.24,
          0.16
        ],
        "required": false,
        "candidate_offsets": [
          [
            0,
            1,
            0
          ],
          [
            0,
            0,
            1
          ]
        ]
      }
    ],
    "collision": {
      "mode": "none",
      "cells_by_state": {
        "closed": [],
        "open": []
      }
    },
    "parts": [
      {
        "id": "body",
        "model_origin": [
          0,
          0,
          0
        ]
      },
      {
        "id": "left_face",
        "pivot": [
          -0.31,
          0.065,
          0.279
        ],
        "motion": {
          "type": "rotate",
          "axis": "y",
          "degrees": -110
        }
      },
      {
        "id": "right_face",
        "pivot": [
          0.31,
          0.065,
          0.279
        ],
        "motion": {
          "type": "rotate",
          "axis": "y",
          "degrees": 110
        }
      }
    ],
    "linked": [
      [
        "left_face",
        "right_face"
      ]
    ],
    "interactions": [
      {
        "id": "open-pumpkin",
        "part_id": "left_face",
        "center": [
          0,
          0.06,
          0.3
        ],
        "width": 0.65,
        "height": 0.35,
        "response": true,
        "action": "menu",
        "menu_actions": [
          "open",
          "toggle_light"
        ]
      }
    ],
    "trigger": {
      "type": "click"
    },
    "animation": {
      "duration_ticks": 10,
      "start_delay_ticks": 0,
      "teleport_duration": 0
    },
    "sounds": {
      "open": {
        "id": "minecraft:block.wooden_door.open",
        "volume": 0.4,
        "pitch": 1.3
      },
      "close": {
        "id": "minecraft:block.wooden_door.close",
        "volume": 0.4,
        "pitch": 1.3
      },
      "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
      }
    },
    "actions": [
      {
        "id": "open",
        "label": "打開看看",
        "kind": "open",
        "groups": [
          "left_face",
          "right_face"
        ],
        "sounds": {
          "open": {
            "id": "minecraft:block.wooden_door.open",
            "volume": 0.4,
            "pitch": 1.3
          },
          "close": {
            "id": "minecraft:block.wooden_door.close",
            "volume": 0.4,
            "pitch": 1.3
          }
        },
        "motion": {
          "type": "rotate",
          "axis": "y",
          "degrees": -110
        }
      },
      {
        "id": "toggle_light",
        "label": "開／關燈",
        "kind": "toggle_light",
        "groups": [],
        "sounds": {
          "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
          }
        }
      }
    ],
    "actions_schema": "1.5.0",
    "light_toggle": {
      "default": "on",
      "off_block_states": {
        "minecraft:ochre_froglight[axis=y]": "minecraft:yellow_terracotta"
      },
      "remove_brightness": true
    },
    "states": [
      "on",
      "off"
    ],
    "default_state": "on",
    "default_action": "open",
    "animations": [
      "open",
      "close",
      "light_on",
      "light_off"
    ]
  }
}
