{
	"format_version": "1.21.60",
	"minecraft:block": {
		"description": {
			"identifier": "sgs_farm:leaves_pear",
			"menu_category": {
				"category": "nature",
				"group": "minecraft:itemGroup.name.leaves"
			},
			"states": {
				"sgs_farm:growth": [
					0,
					1,
					2,
					3,
					4,
					5,
					6,
					7
				],
				"sgs_farm:player_placed": [
					0,
					1
				]
			}
		},
		"components": {
			"minecraft:collision_box": true,
			"minecraft:map_color": "#1f8f3c",
			"minecraft:display_name":"Pear Tree Leaves\n§o§2Crops & Farms§r",
			"minecraft:custom_components": [
				"sgs_farm:leaves"
			],
			"minecraft:geometry": "geometry.sgs_farm_cube_16",
			"minecraft:light_dampening": 4,
			"minecraft:loot": "loot_tables/sgs/mwo/blocks/leaves/leaves_pear.json",
			"minecraft:selection_box": true,
			"minecraft:flammable":{
				"catch_chance_modifier":30,
				"destroy_chance_modifier":50
			},
			"minecraft:destructible_by_mining":{
                "seconds_to_destroy": 0.3,
                "item_specific_speeds":[
                  {"item":{"tags":"query.all_tags('minecraft:is_shears')"},"destroy_speed":0.0}
                ]
            }
		},
		"permutations": [
			{
				"condition": "q.block_state('sgs_farm:growth') == 0",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"face_dimming": true,
							"ambient_occlusion": false,
							"render_method": "blend",
							"texture": "sgs_farm_leaves_pear_1"
						}
					},
					"minecraft:selection_box": {
						"origin": [
							-8,
							0,
							-8
						],
						"size": [
							16,
							16,
							16
						]
					}
				}
			},
			{
				"condition": "q.block_state('sgs_farm:growth') == 1",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"face_dimming": true,
							"ambient_occlusion": false,
							"render_method": "blend",
							"texture": "sgs_farm_leaves_pear_1"
						}
					},
					"minecraft:selection_box": {
						"origin": [
							-8,
							0,
							-8
						],
						"size": [
							16,
							16,
							16
						]
					}
				}
			},
			{
				"condition": "q.block_state('sgs_farm:growth') == 2",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"face_dimming": true,
							"ambient_occlusion": false,
							"render_method": "blend",
							"texture": "sgs_farm_leaves_pear_1"
						}
					},
					"minecraft:selection_box": {
						"origin": [
							-8,
							0,
							-8
						],
						"size": [
							16,
							16,
							16
						]
					}
				}
			},
			{
				"condition": "q.block_state('sgs_farm:growth') == 3",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"face_dimming": true,
							"ambient_occlusion": false,
							"render_method": "blend",
							"texture": "sgs_farm_leaves_pear_2"
						}
					},
					"minecraft:selection_box": {
						"origin": [
							-8,
							0,
							-8
						],
						"size": [
							16,
							16,
							16
						]
					}
				}
			},
			{
				"condition": "q.block_state('sgs_farm:growth') == 4",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"face_dimming": true,
							"ambient_occlusion": false,
							"render_method": "blend",
							"texture": "sgs_farm_leaves_pear_2"
						}
					},
					"minecraft:selection_box": {
						"origin": [
							-8,
							0,
							-8
						],
						"size": [
							16,
							16,
							16
						]
					}
				}
			},
			{
				"condition": "q.block_state('sgs_farm:growth') == 5",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"face_dimming": true,
							"ambient_occlusion": false,
							"render_method": "blend",
							"texture": "sgs_farm_leaves_pear_2"
						}
					},
					"minecraft:selection_box": {
						"origin": [
							-8,
							0,
							-8
						],
						"size": [
							16,
							16,
							16
						]
					}
				}
			},
			{
				"condition": "q.block_state('sgs_farm:growth') == 6",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"face_dimming": true,
							"ambient_occlusion": false,
							"render_method": "blend",
							"texture": "sgs_farm_leaves_pear_3"
						}
					},
					"minecraft:selection_box": {
						"origin": [
							-8,
							0,
							-8
						],
						"size": [
							16,
							16,
							16
						]
					}
				}
			},
			{
				"condition": "q.block_state('sgs_farm:growth') == 7",
				"components": {
					"minecraft:material_instances": {
						"*": {
							"face_dimming": true,
							"ambient_occlusion": false,
							"render_method": "blend",
							"texture": "sgs_farm_leaves_pear_3"
						}
					},
					"minecraft:selection_box": {
						"origin": [
							-8,
							0,
							-8
						],
						"size": [
							16,
							16,
							16
						]
					}
				}
			}
		]
	}
}