{
	"format_version": "1.20.80",
	"minecraft:block": {
		"description": {
			"identifier": "sgs_farm:fun_saw_hand",
			"menu_category": {
				"category": "none",
				"group": "none",
				"is_hidden_in_commands": false
			},
			"traits": {
				"minecraft:placement_direction": {
					"enabled_states": ["minecraft:cardinal_direction"]
				}
			},
			"states":{
				"sgs_farm:can_craft":[
				   0,
				   1
				]
			}
		},
		"components": {
			"minecraft:map_color": "#a7a7a7",
			"minecraft:geometry": {
				"identifier": "geometry.sgs_farm_fun_saw_hand"
			},
			"minecraft:custom_components": [
				"sgs_farm:workbench_top"
			],
			"tag:sgs_farm_break_on_silktouch":{},
			"minecraft:display_name":"Hand Saw\n§nWorkbench Top§r\n§o§2Crops & Farms§r", 
			"minecraft:loot": "loot_tables/sgs/farm/blocks/misc/fun_saw_hand.json",
			"minecraft:destructible_by_mining": {
				"seconds_to_destroy": 1
			},
			"minecraft:material_instances": {
				"*": {
					"texture": "sgs_farm_saw_hand",
					"render_method": "alpha_test"
				}
			},
			"minecraft:selection_box": {
				"origin": [
					-7,
					0,
					-7
				],
				"size": [
					14,
					3,
					14
				]
			},
			"minecraft:collision_box":{
				"origin": [
					-7,
					0,
					-7
				],
				"size": [
					14,
					3,
					14
				]
			},
			"tag:sgs_farm_workbench_top": {}
		},
		"permutations": [
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'north' ",
				"components": {
					"minecraft:transformation": {
						"rotation": [0, 180, 0]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'south' ",
				"components": {
					"minecraft:transformation": {
						"rotation": [0, 0, 0]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'east' ",
				"components": {
					"minecraft:transformation": {
						"rotation": [0, 90, 0]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'west' ",
				"components": {
					"minecraft:transformation": {
						"rotation": [0, 270, 0]
					}
				}
			},
			{
                "condition": "q.block_state('sgs_farm:can_craft')",
                "components": {
                    "minecraft:display_name":"Workbench",
					"minecraft:crafting_table": {
					  "grid_size": 3,
					  "crafting_tags": [
						"sgs_farm_workbench"
					  ]
					}
                }
            }
		]
	}
}