{
  "multipart": [
    {
      "apply": {
        "model": "minecraft:block/iron_bars_ends"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars"
      },
      "when": {
        "east": "false",
        "north": "false",
        "south": "false",
        "west": "false"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_en"
      },
      "when": {
        "east": "false",
        "north": "true",
        "south": "false",
        "west": "false"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_en",
        "y": 90
      },
      "when": {
        "east": "true",
        "north": "false",
        "south": "false",
        "west": "false"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw"
      },
      "when": {
        "east": "false",
        "north": "false",
        "south": "true",
        "west": "false"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw",
        "y": 90
      },
      "when": {
        "east": "false",
        "north": "false",
        "south": "false",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_en",
        "y": 90
      },
      "when": {
        "east": "true",
        "north": "true",
        "south": "false",
        "west": "false"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_en",
        "y": 0
      },
      "when": {
        "east": "true",
        "north": "true",
        "south": "false",
        "west": "false"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw",
        "y": 90
      },
      "when": {
        "east": "false",
        "north": "false",
        "south": "true",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw"
      },
      "when": {
        "east": "false",
        "north": "false",
        "south": "true",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_en"
      },
      "when": {
        "east": "false",
        "north": "true",
        "south": "false",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw",
        "y": 90
      },
      "when": {
        "east": "false",
        "north": "true",
        "south": "false",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_en",
        "y": 90
      },
      "when": {
        "east": "true",
        "north": "false",
        "south": "true",
        "west": "false"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw"
      },
      "when": {
        "east": "true",
        "north": "false",
        "south": "true",
        "west": "false"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_en"
      },
      "when": {
        "east": "true",
        "north": "true",
        "south": "true",
        "west": "false"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw"
      },
      "when": {
        "east": "true",
        "north": "true",
        "south": "true",
        "west": "false"
      }
    },    {
      "apply": {
        "model": "minecraft:block/iron_bars_en",
        "y": 90
      },
      "when": {
        "east": "true",
        "north": "true",
        "south": "true",
        "west": "false"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_en"
      },
      "when": {
        "east": "false",
        "north": "true",
        "south": "true",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw"
      },
      "when": {
        "east": "false",
        "north": "true",
        "south": "true",
        "west": "true"
      }
    },    {
      "apply": {
        "model": "minecraft:block/iron_bars_en",
        "y": 270
      },
      "when": {
        "east": "false",
        "north": "true",
        "south": "true",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_en"
      },
      "when": {
        "east": "true",
        "north": "true",
        "south": "false",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw",
        "y": 90
      },
      "when": {
        "east": "true",
        "north": "true",
        "south": "false",
        "west": "true"
      }
    },    {
      "apply": {
        "model": "minecraft:block/iron_bars_en",
        "y": 90
      },
      "when": {
        "east": "true",
        "north": "true",
        "south": "false",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw"
      },
      "when": {
        "east": "true",
        "north": "false",
        "south": "true",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw",
        "y": 90
      },
      "when": {
        "east": "true",
        "north": "false",
        "south": "true",
        "west": "true"
      }
    },    {
      "apply": {
        "model": "minecraft:block/iron_bars_en",
        "y": 90
      },
      "when": {
        "east": "true",
        "north": "false",
        "south": "true",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw",
        "y": 90
      },
      "when": {
        "east": "true",
        "north": "false",
        "south": "false",
        "west": "true"
      }
    },    {
      "apply": {
        "model": "minecraft:block/iron_bars_en",
        "y": 90
      },
      "when": {
        "east": "true",
        "north": "false",
        "south": "false",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw"
      },
      "when": {
        "east": "false",
        "north": "true",
        "south": "true",
        "west": "false"
      }
    },    {
      "apply": {
        "model": "minecraft:block/iron_bars_en"
      },
      "when": {
        "east": "false",
        "north": "true",
        "south": "true",
        "west": "false"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw"
      },
      "when": {
        "east": "true",
        "north": "true",
        "south": "true",
        "west": "true"
      }
    },    {
      "apply": {
        "model": "minecraft:block/iron_bars_en"
      },
      "when": {
        "east": "true",
        "north": "true",
        "south": "true",
        "west": "true"
      }
    },
    {
      "apply": {
        "model": "minecraft:block/iron_bars_sw",
        "y": 90
      },
      "when": {
        "east": "true",
        "north": "true",
        "south": "true",
        "west": "true"
      }
    },    {
      "apply": {
        "model": "minecraft:block/iron_bars_en",
        "y": 90
      },
      "when": {
        "east": "true",
        "north": "true",
        "south": "true",
        "west": "true"
      }
    }
  ]
}