{
  "format_version": "1.20.20",
  "minecraft:block": {
    "description": {
      "identifier": "vatonage:stone_barrel",
      "states": {
        "vatonage:stone_factory.barrel_dirt_fill": {
          "values": ["0", "1", "2", "3", "4", "5"]
        }
      },
      "menu_category": {
        "category": "items"
      }
    },
    "components": {
      "tag:minecraft:is_pickaxe_item_destructible": {},
"minecraft:collision_box": {
        "origin": [-7.0, 0.0, -7.0],
        "size": [14, 16, 14]
      },
      "minecraft:selection_box": {
        "origin": [-7.0, 0.0, -7.0],
        "size": [14, 16, 14]
      },
      "minecraft:destructible_by_mining": {
        "seconds_to_destroy": 1.0
      },
      "minecraft:destructible_by_explosion": {
        "explosion_resistance": 30
      },
      "minecraft:material_instances": {
        "*": {
          "texture": "stone_barrel_empty",
          "render_method": "alpha_test"
        }
      },
      "minecraft:map_color": "#5f4a2b",
      "minecraft:custom_components": [
        "vatonage:stone_factory.barrel_interacted"
      ],
      "minecraft:geometry": "geometry.barrel",
      "minecraft:display_name": "%vatonage.stone_barrel.name\n§8§oStone Factory§r"
    },
    "permutations": [
      {
        "condition": "q.block_state('vatonage:stone_factory.barrel_dirt_fill') == '0'",
        "components": {
          "minecraft:material_instances": {
            "*": {
              "texture": "stone_barrel_empty",
              "render_method": "alpha_test"
            }
          }
        }
      },
      {
        "condition": "q.block_state('vatonage:stone_factory.barrel_dirt_fill') == '1'",
        "components": {
          "minecraft:material_instances": {
            "*": {
              "texture": "stone_barrel_dirt1",
              "render_method": "alpha_test"
            }
          }
        }
      },
      {
        "condition": "q.block_state('vatonage:stone_factory.barrel_dirt_fill') == '2'",
        "components": {
          "minecraft:material_instances": {
            "*": {
              "texture": "stone_barrel_dirt2",
              "render_method": "alpha_test"
            }
          }
        }
      },
      {
        "condition": "q.block_state('vatonage:stone_factory.barrel_dirt_fill') == '3'",
        "components": {
          "minecraft:material_instances": {
            "*": {
              "texture": "stone_barrel_dirt3",
              "render_method": "alpha_test"
            }
          }
        }
      },
      {
        "condition": "q.block_state('vatonage:stone_factory.barrel_dirt_fill') == '4'",
        "components": {
          "minecraft:material_instances": {
            "*": {
              "texture": "stone_barrel_dirt4",
              "render_method": "alpha_test"
            }
          }
        }
      },
      {
        "condition": "q.block_state('vatonage:stone_factory.barrel_dirt_fill') == '5'",
        "components": {
          "minecraft:material_instances": {
            "*": {
              "texture": "stone_barrel_dirt5",
              "render_method": "alpha_test"
            }
          }
        }
      }
    ]
  }
}
