{
  "format_version": "1.21.0",
  "minecraft:entity": {
    "description": {
      "identifier": "mdrb:elevator_door_mdrb",
      "spawn_category": "creature",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false,
      "properties": {
        "md:open": {
          "type": "bool",
          "default": true,
          "client_sync": true
        }
      }
    },
    "component_groups": {
      "add_hitbox": {
        "minecraft:addrider": {
          "entity_type": "mdrb:elevator_door_hitbox_mdrb"
        }
      }
    },
    "components": {
      "minecraft:damage_sensor": {
        "triggers": {
          "cause": "all",
          "deals_damage": false
        }
      },
      "minecraft:type_family": {
        "family": [ "elevator_door", "md" ]
      },
      "minecraft:collision_box": {
        "width": 0.01,
        "height": 1
      },
      "minecraft:physics": {
        "has_gravity": false,
        "has_collision": false
      },
      "minecraft:rideable": {
        "seat_count": 2,
        "family_types": [
          "elevator_door_hitbox"
        ],
        "seats": [
          {
            "position": [ 0.5, 0.2, 0 ]
          },
          {
            "position": [ -0.5, 0.2, 0 ]
          }
        ]
      },
      "minecraft:pushable": {
        "is_pushable": false,
        "is_pushable_by_piston": false
      },
      "minecraft:knockback_resistance": {"value": 9},
      "minecraft:conditional_bandwidth_optimization": {
      }
    },
    "events": {
      "minecraft:entity_spawned": {
        "add" : { "component_groups": ["add_hitbox"] }
      },
      "add_hitbox": {
        "add" : { "component_groups": ["add_hitbox"] }
      }
    }
  }
}