{
  "code": "metaldoor",
  "class": "BlockDoor",
  "renderpass": "OpaqueNoCull",
  "behaviors": [{ "name": "Lockable" }],
  "heldTpIdleAnimation": "holdunderarm",
  "attributes": {
    "handbook": {
      "groupBy": ["metaldoor-*"],
      "excludeByType": {
        "*-cursed-*": true,
        "*-tainted-*": true,
        "*-bone-*": true
      }
    }
  },
  "variantgroups": [{ "code": "metal", "states": ["iron", "copper", "tinbronze", "bismuthbronze", "blackbronze", "silver", "gold", "steel", "brass", "bismuth", "tin", "molybdochalkos", "cursed"] }, { "loadFromProperties": "game:abstract/horizontalorientation" }, { "code": "part", "states": ["down", "up"] }, { "code": "state", "states": ["closed", "opened"] }, { "code": "knobOrientation", "states": ["left", "right"] }],
  "textures": {
    "bottom-right": { "base": "block/metal/door/{metal}/bottom-right" },
    "sides": { "base": "block/metal/door/{metal}/sides" },
    "top-right": { "base": "block/metal/door/{metal}/top-right" }
  },
  "creativeinventory": { "general": ["metaldoor-*-north-down-closed-left"], "decorative": ["metaldoor-*-north-down-closed-left"] },
  "shapeinventory": { "base": "game:block/metal/iron/door/inventory" },
  "shapebytype": {
    "*-north-down-closed-left": { "base": "game:block/metal/iron/door/down_closed_left", "rotateY": 90 },
    "*-north-up-closed-left": { "base": "game:block/metal/iron/door/up_closed_left", "rotateY": 90 },
    "*-north-down-opened-left": { "base": "game:block/metal/iron/door/down_opened_left", "rotateY": 90 },
    "*-north-up-opened-left": { "base": "game:block/metal/iron/door/up_opened_left", "rotateY": 90 },

    "*-east-down-closed-left": { "base": "game:block/metal/iron/door/down_closed_left", "rotateY": 0 },
    "*-east-up-closed-left": { "base": "game:block/metal/iron/door/up_closed_left", "rotateY": 0 },
    "*-east-down-opened-left": { "base": "game:block/metal/iron/door/down_opened_left", "rotateY": 0 },
    "*-east-up-opened-left": { "base": "game:block/metal/iron/door/up_opened_left", "rotateY": 0 },

    "*-south-down-closed-left": { "base": "game:block/metal/iron/door/down_closed_left", "rotateY": 270 },
    "*-south-up-closed-left": { "base": "game:block/metal/iron/door/up_closed_left", "rotateY": 270 },
    "*-south-down-opened-left": { "base": "game:block/metal/iron/door/down_opened_left", "rotateY": 270 },
    "*-south-up-opened-left": { "base": "game:block/metal/iron/door/up_opened_left", "rotateY": 270 },

    "*-west-down-closed-left": { "base": "game:block/metal/iron/door/down_closed_left", "rotateY": 180 },
    "*-west-up-closed-left": { "base": "game:block/metal/iron/door/up_closed_left", "rotateY": 180 },
    "*-west-down-opened-left": { "base": "game:block/metal/iron/door/down_opened_left", "rotateY": 180 },
    "*-west-up-opened-left": { "base": "game:block/metal/iron/door/up_opened_left", "rotateY": 180 },

    "*-north-down-closed-right": { "base": "game:block/metal/iron/door/down_closed_right", "rotateY": 90 },
    "*-north-up-closed-right": { "base": "game:block/metal/iron/door/up_closed_right", "rotateY": 90 },
    "*-north-down-opened-right": { "base": "game:block/metal/iron/door/down_opened_right", "rotateY": 90 },
    "*-north-up-opened-right": { "base": "game:block/metal/iron/door/up_opened_right", "rotateY": 90 },

    "*-east-down-closed-right": { "base": "game:block/metal/iron/door/down_closed_right", "rotateY": 0 },
    "*-east-up-closed-right": { "base": "game:block/metal/iron/door/up_closed_right", "rotateY": 0 },
    "*-east-down-opened-right": { "base": "game:block/metal/iron/door/down_opened_right", "rotateY": 0 },
    "*-east-up-opened-right": { "base": "game:block/metal/iron/door/up_opened_right", "rotateY": 0 },

    "*-south-down-closed-right": { "base": "game:block/metal/iron/door/down_closed_right", "rotateY": 270 },
    "*-south-up-closed-right": { "base": "game:block/metal/iron/door/up_closed_right", "rotateY": 270 },
    "*-south-down-opened-right": { "base": "game:block/metal/iron/door/down_opened_right", "rotateY": 270 },
    "*-south-up-opened-right": { "base": "game:block/metal/iron/door/up_opened_right", "rotateY": 270 },

    "*-west-down-closed-right": { "base": "game:block/metal/iron/door/down_closed_right", "rotateY": 180 },
    "*-west-up-closed-right": { "base": "game:block/metal/iron/door/up_closed_right", "rotateY": 180 },
    "*-west-down-opened-right": { "base": "game:block/metal/iron/door/down_opened_right", "rotateY": 180 },
    "*-west-up-opened-right": { "base": "game:block/metal/iron/door/up_opened_right", "rotateY": 180 }
  },
  "blockmaterial": "Metal",
  "replaceable": 500,
  "resistance": 2.5,
  "lightAbsorption": 0,
  "sidesolid": {
    "all": false
  },
  "sideopaque": {
    "all": false
  },
  "guiTransform": {
    "origin": { "x": 0.5, "y": 1, "z": 0.5 },
    "scale": 0.75
  },
  "fpHandTransform": {
    "translation": { "x": -0.27, "y": -0.12, "z": 1.12 },
    "rotation": { "x": -44, "y": 42, "z": 0 },
    "scale": 1.02
  },
  "tpHandTransform": {
    "translation": { "x": -1.1, "y": -0.7, "z": -0.6 },
    "rotation": { "x": 14, "y": 0, "z": 59 },
    "scale": 0.6
  },
  "groundTransform": {
    "rotation": { "x": -90, "y": 0, "z": 0 },
    "origin": { "x": 0.5, "y": 0, "z": 0.44 },
    "scale": 2.15
  },
  "selectionbox": {
    "x1": 0,
    "y1": 0,
    "z1": 0.75,
    "x2": 1,
    "y2": 1,
    "z2": 1,
    "rotateYByType": {
      "*-north-*-opened-left": 90,
      "*-north-*-closed-left": 0,
      "*-west-*-opened-left": 180,
      "*-west-*-closed-left": 90,

      "*-east-*-opened-left": 0,
      "*-east-*-closed-left": 270,
      "*-south-*-opened-left": 270,
      "*-south-*-closed-left": 180,

      "*-north-*-opened-right": 270,
      "*-north-*-closed-right": 0,
      "*-west-*-opened-right": 0,
      "*-west-*-closed-right": 90,

      "*-east-*-opened-right": 180,
      "*-east-*-closed-right": 270,
      "*-south-*-opened-right": 90,
      "*-south-*-closed-right": 180
    }
  },
  "collisionbox": {
    "x1": 0,
    "y1": 0,
    "z1": 0.875,
    "x2": 1,
    "y2": 1,
    "z2": 1,
    "rotateYByType": {
      "*-north-*-opened-left": 90,
      "*-north-*-closed-left": 0,
      "*-west-*-opened-left": 180,
      "*-west-*-closed-left": 90,

      "*-east-*-opened-left": 0,
      "*-east-*-closed-left": 270,
      "*-south-*-opened-left": 270,
      "*-south-*-closed-left": 180,

      "*-north-*-opened-right": 270,
      "*-north-*-closed-right": 0,
      "*-west-*-opened-right": 0,
      "*-west-*-closed-right": 90,

      "*-east-*-opened-right": 180,
      "*-east-*-closed-right": 270,
      "*-south-*-opened-right": 90,
      "*-south-*-closed-right": 180
    }
  },
  "sounds": {
    "place": "game:block/anvil",
    "break": "game:block/anvil",
    "hit": "game:block/anvil"
  }
}
