{
  "format_version": "1.21.0",
  "minecraft:block": {
    "description": {
      "identifier": "silverlabs:hemp_crop",
      "menu_category": { "category": "nature" },
      "states": {
        "silverlabs:hemp_age": { "values": { "min": 0, "max": 5 } },
        "silverlabs:hemp_top": { "values": [false, true] }
      }
    },
    "components": {
      "minecraft:destructible_by_mining": { "seconds_to_destroy": 0.1 },
      "minecraft:destructible_by_explosion": { "explosion_resistance": 0.1 },
      "minecraft:flammable": { "destroy_chance_modifier": 60, "catch_chance_modifier": 60 },
      "minecraft:light_dampening": 0,
      "minecraft:map_color": "#5d8a3c",
      "minecraft:collision_box": false,
      "minecraft:selection_box": { "origin": [-6, 0, -6], "size": [12, 14, 12] },
      "minecraft:geometry": "minecraft:geometry.cross",
      "minecraft:material_instances": {
        "*": {
          "texture": "hemp_crop_0",
          "render_method": "alpha_test",
          "ambient_occlusion": false,
          "face_dimming": false
        }
      },
      "minecraft:loot": "loot_tables/blocks/hemp_crop.json"
    },
    "permutations": [
      {
        "condition": "query.block_state('silverlabs:hemp_age') == 1",
        "components": {
          "minecraft:material_instances": {
            "*": { "texture": "hemp_crop_1", "render_method": "alpha_test", "ambient_occlusion": false, "face_dimming": false }
          }
        }
      },
      {
        "condition": "query.block_state('silverlabs:hemp_age') == 2",
        "components": {
          "minecraft:material_instances": {
            "*": { "texture": "hemp_crop_2", "render_method": "alpha_test", "ambient_occlusion": false, "face_dimming": false }
          }
        }
      },
      {
        "condition": "query.block_state('silverlabs:hemp_age') == 3",
        "components": {
          "minecraft:material_instances": {
            "*": { "texture": "hemp_crop_3", "render_method": "alpha_test", "ambient_occlusion": false, "face_dimming": false }
          }
        }
      },
      {
        "condition": "query.block_state('silverlabs:hemp_age') == 4",
        "components": {
          "minecraft:material_instances": {
            "*": { "texture": "hemp_crop_4", "render_method": "alpha_test", "ambient_occlusion": false, "face_dimming": false }
          }
        }
      },
      {
        "condition": "query.block_state('silverlabs:hemp_age') == 5",
        "components": {
          "minecraft:material_instances": {
            "*": { "texture": "hemp_crop_5", "render_method": "alpha_test", "ambient_occlusion": false, "face_dimming": false }
          }
        }
      }
    ]
  }
}
