{
	"format_version": "1.20.30",
	"minecraft:block": {
		"description": {
			"identifier": "farmersdelight:delight_dirt",
			"menu_category": {
				"category": "items",
				"is_hidden_in_commands": false,
				"group": "itemGroup.name.farmersdelight_dirt"
			}
		},
		"components": {
			"tag:dirt": {},
			"tag:farmland": {},
			"tag:fertilize_area": {},
			"tag:minecraft:crop": {},
			"minecraft:unit_cube": {},
			"minecraft:map_color": "#6C5746",
			"minecraft:destructible_by_mining": {
				"seconds_to_destroy": 0.5
			},
			"minecraft:on_interact": {
				"event": "wiki:convert_to_farmland",
				"condition": "query.get_equipped_item_name('main_hand')=='wooden_hoe'||query.get_equipped_item_name('main_hand')=='stone_hoe'||query.get_equipped_item_name('main_hand')=='iron_hoe'||query.get_equipped_item_name('main_hand')=='golden_hoe'||query.get_equipped_item_name('main_hand')=='diamond_hoe'||query.get_equipped_item_name('main_hand')=='netherite_hoe'"
			},
			"minecraft:material_instances": {
				"*": {
					"texture": "coarse_dirt_faded",
					"render_method": "alpha_test"
				}
			},
			"minecraft:collision_box": {
				"origin": [
					-8,
					0,
					-8
				],
				"size": [
					16,
					15,
					16
				]
			},
			"minecraft:selection_box": {
				"origin": [
					-8,
					0,
					-8
				],
				"size": [
					16,
					16,
					16
				]
			}
		},
		"events": {
			"wiki:convert_to_farmland": {
				"sequence": [
					{
						"play_sound": {
							"sound": "pop"
						}
					},
					{
						"set_block_at_pos": {
							"block_type": "farmersdelight:delight_farmland",
							"block_offset": [
								0,
								0,
								0
							]
						}
					},
					{
						"damage": {
							"amount": 1,
							"target": "item",
							"type": "contact"
						}
					}
				]
			}
		}
	}
}