{
   "format_version":"1.20.80",
   "minecraft:block":{
      "description":{
         "identifier":"sgs_farm:herb_pot",
         "menu_category":{
            "category":"none",
            "group":"none",
            "is_hidden_in_commands":false
         },
         "states":{
            "sgs_farm:pot_sections":[
               0,
               1,
               2,
               3
            ],
            "sgs_farm:growth":[
               0,
               1,
               2,
               3,
               4,
               5,
               6,
               7
            ],
            "sgs_farm:herb":[
               "NONE",
               "BASIL",
               "CILANTRO",
               "LAVENDER",
               "MINT",
               "ROSEMARY",
               "THYME"
            ]
         }
      },
      "components":{
         "minecraft:custom_components":[
            "sgs_farm:herbpot"
         ],
		 "minecraft:display_name":"Herb Pot Block\n§dCreative§r\n§o§2Crops & Farms§r",
		 "minecraft:loot": "loot_tables/empty.json",
         "minecraft:geometry":{
            "identifier":"geometry.sgs_farm_fun_herb_pot",
            "bone_visibility":{
               "herb_pot_1":"q.block_state('sgs_farm:pot_sections') == 0",
			   "pot_1":"q.block_state('sgs_farm:pot_sections') == 0",
			   "herb_1":"q.block_state('sgs_farm:pot_sections') == 0",
			   
               "herb_pot_2":"q.block_state('sgs_farm:pot_sections') == 1",
			   "pot_2":"q.block_state('sgs_farm:pot_sections') == 1",
			   "pot_3":"q.block_state('sgs_farm:pot_sections') == 1",
			   "herb_2":"q.block_state('sgs_farm:pot_sections') == 1",
			   "herb_3":"q.block_state('sgs_farm:pot_sections') == 1",
			   
               "herb_pot_3":"q.block_state('sgs_farm:pot_sections') == 2",
			   "pot_4":"q.block_state('sgs_farm:pot_sections') == 2",
			   "pot_5":"q.block_state('sgs_farm:pot_sections') == 2",
			   "pot_6":"q.block_state('sgs_farm:pot_sections') == 2",
			   "herb_4":"q.block_state('sgs_farm:pot_sections') == 2",
			   "herb_5":"q.block_state('sgs_farm:pot_sections') == 2",
			   "herb_6":"q.block_state('sgs_farm:pot_sections') == 2",
			   
               "herb_pot_4":"q.block_state('sgs_farm:pot_sections') == 3",
			   "pot_7":"q.block_state('sgs_farm:pot_sections') == 3",
			   "pot_8":"q.block_state('sgs_farm:pot_sections') == 3",
			   "pot_9":"q.block_state('sgs_farm:pot_sections') == 3",
			   "pot_10":"q.block_state('sgs_farm:pot_sections') == 3",
			   "herb_7":"q.block_state('sgs_farm:pot_sections') == 3",
			   "herb_8":"q.block_state('sgs_farm:pot_sections') == 3",
			   "herb_9":"q.block_state('sgs_farm:pot_sections') == 3",
			   "herb_10":"q.block_state('sgs_farm:pot_sections') == 3"
            }
         },
         "minecraft:light_dampening":0,
         "minecraft:placement_filter":{
            "conditions":[
               {
                  "allowed_faces":[
                     "up"
                  ]
               }
            ]
         },
         "minecraft:material_instances":{
            "*":{
               "face_dimming":true,
               "ambient_occlusion":false,
               "render_method":"alpha_test",
               "texture":"sgs_farm_herb_pot_empty"
            }
         },
         "minecraft:selection_box":{
            "origin":[
               -5,
               0,
               -5
            ],
            "size":[
               10,
               10,
               10
            ]
         },
		 "minecraft:collision_box":{
			"origin": [
				-5,
				0,
				-5
			],
			"size": [
				10,
				8,
				10
			]
		 }
      },
      "permutations":[
         {
            "condition":"q.block_state('sgs_farm:herb') == 'BASIL' && q.block_state('sgs_farm:growth') == 0",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_basil_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'BASIL' && q.block_state('sgs_farm:growth') == 1",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_basil_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'BASIL' && q.block_state('sgs_farm:growth') == 2",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_basil_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'BASIL' && q.block_state('sgs_farm:growth') == 3",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_basil_2"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'BASIL' && q.block_state('sgs_farm:growth') == 4",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_basil_2"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'BASIL' && q.block_state('sgs_farm:growth') == 5",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_basil_3"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'BASIL' && q.block_state('sgs_farm:growth') == 6",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_basil_3"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'BASIL' && q.block_state('sgs_farm:growth') == 7",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_basil_4"
                  }
               }
            }
         },
         {
            "condition":"q.block_state('sgs_farm:herb') == 'CILANTRO' && q.block_state('sgs_farm:growth') == 0",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_cilantro_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'CILANTRO' && q.block_state('sgs_farm:growth') == 1",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_cilantro_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'CILANTRO' && q.block_state('sgs_farm:growth') == 2",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_cilantro_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'CILANTRO' && q.block_state('sgs_farm:growth') == 3",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_cilantro_2"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'CILANTRO' && q.block_state('sgs_farm:growth') == 4",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_cilantro_2"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'CILANTRO' && q.block_state('sgs_farm:growth') == 5",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_cilantro_3"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'CILANTRO' && q.block_state('sgs_farm:growth') == 6",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_cilantro_3"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'CILANTRO' && q.block_state('sgs_farm:growth') == 7",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_cilantro_4"
                  }
               }
            }
         },
         {
            "condition":"q.block_state('sgs_farm:herb') == 'LAVENDER' && q.block_state('sgs_farm:growth') == 0",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_lavender_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'LAVENDER' && q.block_state('sgs_farm:growth') == 1",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_lavender_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'LAVENDER' && q.block_state('sgs_farm:growth') == 2",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_lavender_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'LAVENDER' && q.block_state('sgs_farm:growth') == 3",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_lavender_2"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'LAVENDER' && q.block_state('sgs_farm:growth') == 4",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_lavender_2"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'LAVENDER' && q.block_state('sgs_farm:growth') == 5",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_lavender_3"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'LAVENDER' && q.block_state('sgs_farm:growth') == 6",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_lavender_3"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'LAVENDER' && q.block_state('sgs_farm:growth') == 7",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_lavender_4"
                  }
               }
            }
         },
         {
            "condition":"q.block_state('sgs_farm:herb') == 'MINT' && q.block_state('sgs_farm:growth') == 0",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_mint_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'MINT' && q.block_state('sgs_farm:growth') == 1",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_mint_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'MINT' && q.block_state('sgs_farm:growth') == 2",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_mint_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'MINT' && q.block_state('sgs_farm:growth') == 3",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_mint_2"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'MINT' && q.block_state('sgs_farm:growth') == 4",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_mint_2"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'MINT' && q.block_state('sgs_farm:growth') == 5",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_mint_3"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'MINT' && q.block_state('sgs_farm:growth') == 6",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_mint_3"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'MINT' && q.block_state('sgs_farm:growth') == 7",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_mint_4"
                  }
               }
            }
         },
         {
            "condition":"q.block_state('sgs_farm:herb') == 'ROSEMARY' && q.block_state('sgs_farm:growth') == 0",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_rosemary_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'ROSEMARY' && q.block_state('sgs_farm:growth') == 1",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_rosemary_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'ROSEMARY' && q.block_state('sgs_farm:growth') == 2",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_rosemary_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'ROSEMARY' && q.block_state('sgs_farm:growth') == 3",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_rosemary_2"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'ROSEMARY' && q.block_state('sgs_farm:growth') == 4",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_rosemary_2"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'ROSEMARY' && q.block_state('sgs_farm:growth') == 5",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_rosemary_3"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'ROSEMARY' && q.block_state('sgs_farm:growth') == 6",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_rosemary_3"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'ROSEMARY' && q.block_state('sgs_farm:growth') == 7",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_rosemary_4"
                  }
               }
            }
         },
         {
            "condition":"q.block_state('sgs_farm:herb') == 'THYME' && q.block_state('sgs_farm:growth') == 0",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_thyme_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'THYME' && q.block_state('sgs_farm:growth') == 1",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_thyme_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'THYME' && q.block_state('sgs_farm:growth') == 2",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_thyme_1"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'THYME' && q.block_state('sgs_farm:growth') == 3",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_thyme_2"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'THYME' && q.block_state('sgs_farm:growth') == 4",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_thyme_2"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'THYME' && q.block_state('sgs_farm:growth') == 5",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_thyme_3"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'THYME' && q.block_state('sgs_farm:growth') == 6",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_thyme_3"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:herb') == 'THYME' && q.block_state('sgs_farm:growth') == 7",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "face_dimming":true,
                     "ambient_occlusion":false,
                     "render_method":"alpha_test",
                     "texture":"sgs_farm_thyme_4"
                  }
               }
            }
         }
      ]
   }
}