{
  "format_version": "1.20.30",
  "minecraft:block": {
    "description": {
      "identifier": "iron_chests:gold_chest",
      "menu_category": {
        "is_hidden_in_commands": true,
        "category": "none"
      },
      "traits": {
        "minecraft:placement_direction": {
          "enabled_states": [ "minecraft:cardinal_direction" ],
          "y_rotation_offset": 180
        }
      },
      "states": {
        "iron_chests:frame": {"values":{"min":1,"max":16}}
      }
    },
    "components": {
      "tag:minecraft:is_pickaxe_item_destructible": {},
"tag:metal": {},
      "tag:diamond_pick_diggable": {},
      "tag:iron_pick_diggable": {},
      "tag:stone_pick_diggable": {},
      "minecraft:geometry": "geometry.ironchests.chest.00",
      "minecraft:destructible_by_explosion": {
        "explosion_resistance": 15
      },
      "minecraft:loot": "loot_tables/iron_chests/gold_chest.loot.json",
      "minecraft:destructible_by_mining": {
        "seconds_to_destroy": 1.8
      },
      "minecraft:light_dampening": 0.5,
      "minecraft:light_emission": 0.0,
      "minecraft:material_instances": {
        "*": {
          "texture": "iron_chests:gold_chest",
          "render_method": "alpha_test"
        }
      },
      "minecraft:selection_box": {
        "origin": [ -7.0, 0.0, -7.0 ],
        "size": [ 14.0, 10.0, 14.0 ]
      },
      "minecraft:collision_box": {
        "origin": [ -7.0, 0.0, -7.0 ],
        "size": [ 14.0, 14.0, 14.0 ]
      }
    },
    "permutations": [
      {
        "condition": "q.block_state('iron_chests:frame') == 1",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.00" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 2",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.02" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 3",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.03" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 4",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.04" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 5",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.05" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 6",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.06" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 7",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.07" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 8",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.08" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 9",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.09" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 10",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.10" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 11",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.11" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 12",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.12" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 13",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.13" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 14",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.14" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 15",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.16" }
      },
      {
        "condition": "q.block_state('iron_chests:frame') == 16",
        "components": { "minecraft:geometry": "geometry.ironchests.chest.18" }
      },
      {
        "condition": "q.block_state('minecraft:cardinal_direction') == 'north'",
        "components": { "minecraft:transformation": { "rotation": [ 0, 0, 0 ]}}
      },
      {
        "condition": "q.block_state('minecraft:cardinal_direction') == 'south'",
        "components": { "minecraft:transformation": { "rotation": [ 0, 180, 0 ]}}
      },
      {
        "condition": "q.block_state('minecraft:cardinal_direction') == 'west'",
        "components": { "minecraft:transformation": { "rotation": [ 0, 90, 0 ]}}
      },
      {
        "condition": "q.block_state('minecraft:cardinal_direction') == 'east'",
        "components": { "minecraft:transformation": { "rotation": [ 0, 270, 0 ]}}
      }
    ]
  }
}