{
  "id": "pants-press",
  "name_zh": "熨褲機",
  "name_en": "Pants Press",
  "tag": "de_pants_press",
  "category": "electronics",
  "mount": "floor",
  "large": false,
  "sittable": false,
  "size": [
    0.8,
    1.2,
    0.4
  ],
  "parts": [
    {
      "type": "block_display",
      "block": "minecraft:polished_blackstone",
      "translation": [
        -0.34,
        0,
        -0.2
      ],
      "scale": [
        0.06,
        0.055,
        0.4
      ],
      "note": "stabilizing runner",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:iron_block",
      "translation": [
        -0.331,
        0.055,
        -0.04
      ],
      "scale": [
        0.042,
        1.02,
        0.045
      ],
      "note": "slim side support",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:polished_blackstone",
      "translation": [
        0.28,
        0,
        -0.2
      ],
      "scale": [
        0.06,
        0.055,
        0.4
      ],
      "note": "stabilizing runner",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:iron_block",
      "translation": [
        0.289,
        0.055,
        -0.04
      ],
      "scale": [
        0.042,
        1.02,
        0.045
      ],
      "note": "slim side support",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_dark_oak_wood",
      "translation": [
        -0.36,
        0.15,
        -0.092
      ],
      "scale": [
        0.72,
        1.02,
        0.065
      ],
      "note": "broad rear press panel",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:gray_concrete",
      "translation": [
        -0.325,
        0.185,
        -0.025
      ],
      "scale": [
        0.65,
        0.94,
        0.015
      ],
      "note": "rear felt pressing surface",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_spruce_wood",
      "translation": [
        -0.35,
        0.15,
        0.025
      ],
      "scale": [
        0.7,
        1.02,
        0.06
      ],
      "note": "broad hinged front platen",
      "left_rotation": [
        0,
        0,
        0,
        1
      ],
      "group": "front_platen"
    },
    {
      "type": "block_display",
      "block": "minecraft:stripped_oak_wood",
      "translation": [
        -0.315,
        0.185,
        0.0849998
      ],
      "scale": [
        0.63,
        0.94,
        0.012
      ],
      "note": "inset warm wood front",
      "left_rotation": [
        0,
        0,
        0,
        1
      ],
      "group": "front_platen"
    },
    {
      "type": "block_display",
      "block": "minecraft:iron_block",
      "translation": [
        -0.28,
        0.135,
        -0.095
      ],
      "scale": [
        0.04,
        0.055,
        0.19
      ],
      "note": "lower panel hinge",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:iron_block",
      "translation": [
        0.24,
        0.135,
        -0.095
      ],
      "scale": [
        0.04,
        0.055,
        0.19
      ],
      "note": "lower panel hinge",
      "group": "body"
    },
    {
      "type": "block_display",
      "block": "minecraft:polished_blackstone",
      "translation": [
        -0.13,
        1.0449997,
        0.0969996
      ],
      "scale": [
        0.26,
        0.045,
        0.055
      ],
      "note": "upper clamping handle",
      "left_rotation": [
        0,
        0,
        0,
        1
      ],
      "group": "front_platen"
    },
    {
      "type": "block_display",
      "block": "minecraft:iron_block",
      "translation": [
        -0.055,
        0.9549999,
        0.0969999
      ],
      "scale": [
        0.11,
        0.033,
        0.007
      ],
      "note": "timer bezel",
      "left_rotation": [
        0,
        0,
        0,
        1
      ],
      "group": "front_platen"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        -0.028,
        0.9600003,
        0.1039997
      ],
      "scale": [
        0.056,
        0.023,
        0.006
      ],
      "note": "timer dial",
      "left_rotation": [
        0,
        0,
        0,
        1
      ],
      "group": "front_platen"
    },
    {
      "type": "block_display",
      "block": "minecraft:black_concrete",
      "translation": [
        0.25,
        1.16,
        -0.08
      ],
      "scale": [
        0.06,
        0.02,
        0.078
      ],
      "group": "body",
      "note": "fixed rear heating indicator base"
    },
    {
      "type": "block_display",
      "block": "minecraft:orange_concrete",
      "translation": [
        0.262,
        1.176,
        -0.068
      ],
      "scale": [
        0.036,
        0.024,
        0.054
      ],
      "group": "heat_led",
      "brightness": {
        "block": 15,
        "sky": 15
      },
      "note": "heating indicator"
    }
  ],
  "behavior": {
    "lights": [
      {
        "id": "heat",
        "level": 3,
        "point": [
          0.28,
          1.19,
          -0.05
        ],
        "required": false,
        "candidate_offsets": [
          [
            0,
            1,
            0
          ]
        ]
      }
    ],
    "collision": {
      "mode": "none",
      "cells_by_state": {
        "closed": [],
        "open": []
      },
      "reason": "other: 維持可穿越；沒有達 50% 實心核心門檻的未覆蓋格位。",
      "policy": "1.8.0"
    },
    "parts": [
      {
        "id": "body",
        "model_origin": [
          0,
          0,
          0
        ]
      },
      {
        "id": "front_platen",
        "pivot": [
          0,
          0.15,
          0.025
        ],
        "motion": {
          "type": "rotate",
          "axis": "x",
          "degrees": 35
        }
      },
      {
        "id": "heat_led",
        "pivot": [
          0.28,
          1.188,
          -0.05
        ],
        "motion": {
          "type": "sequence",
          "one_shot": true,
          "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": 2,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 58,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 60,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ]
        },
        "rest_pose": "t0"
      }
    ],
    "interactions": [
      {
        "id": "front_platen-click",
        "part_id": "front_platen",
        "center": [
          0,
          0.15,
          0.0885
        ],
        "width": 0.7,
        "height": 1.02,
        "response": true,
        "action": "menu",
        "menu_actions": [
          "press",
          "open"
        ]
      }
    ],
    "trigger": {
      "type": "click"
    },
    "animation": {
      "duration_ticks": 10,
      "start_delay_ticks": 0,
      "teleport_duration": 0
    },
    "sounds": {
      "open": {
        "id": "minecraft:block.iron_trapdoor.open",
        "volume": 0.7,
        "pitch": 1
      },
      "press": {
        "id": "minecraft:block.furnace.fire_crackle",
        "volume": 0.25,
        "pitch": 1
      }
    },
    "actions": [
      {
        "id": "open",
        "label": "打開壓板／合上",
        "kind": "open",
        "groups": [
          "front_platen"
        ],
        "sounds": {
          "open": {
            "id": "minecraft:block.iron_trapdoor.open",
            "volume": 0.7,
            "pitch": 1
          }
        },
        "motion": {
          "type": "rotate",
          "axis": "x",
          "degrees": 35
        },
        "sound_events": {
          "open": {
            "id": "minecraft:block.iron_trapdoor.open",
            "volume": 0.7,
            "pitch": 1
          },
          "close": {
            "id": "minecraft:block.iron_trapdoor.close",
            "volume": 0.7,
            "pitch": 1
          }
        }
      },
      {
        "id": "press",
        "label": "燙褲子",
        "kind": "sequence",
        "groups": [
          "heat_led"
        ],
        "motion": {
          "type": "sequence",
          "one_shot": true,
          "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": 2,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 58,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            },
            {
              "t": 60,
              "transform": {
                "translation": [
                  0,
                  0,
                  0
                ],
                "left_rotation": [
                  0,
                  0,
                  0,
                  1
                ],
                "scale": [
                  1,
                  1,
                  1
                ],
                "right_rotation": [
                  0,
                  0,
                  0,
                  1
                ]
              }
            }
          ]
        },
        "sounds": {
          "press": {
            "id": "minecraft:block.furnace.fire_crackle",
            "volume": 0.25,
            "pitch": 1
          }
        },
        "cooldown_ticks": 64,
        "interlocks": [
          {
            "group": "front_platen",
            "state": "closed",
            "on_change": "block"
          }
        ],
        "light_timeline": [
          {
            "t": 0,
            "on": []
          },
          {
            "t": 2,
            "on": [
              "heat"
            ]
          },
          {
            "t": 60,
            "on": []
          }
        ],
        "sound_events": {
          "finished": {
            "id": "minecraft:block.note_block.bell",
            "volume": 0.25,
            "pitch": 1.2,
            "at_tick": 58
          }
        }
      }
    ],
    "actions_schema": "1.7.0",
    "default_action": "press",
    "particles": {},
    "action_labels": {
      "open": "打開壓板／合上",
      "press": "燙褲子"
    },
    "light_toggle": {
      "default": "on",
      "off_block_states": {},
      "remove_brightness": true
    }
  },
  "blocks": []
}
