{
	"display": {
		"icon": {
			"id": "minecraft:acacia_sapling"
		},
		"title": {"translate":"One-course meal"},
		"description": {"color":"green","translate":"Use bone meal to grow a sapling into a tree"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:farming/natural_fertiliser",
	"rewards": {
		"function": "bacap_rewards:farming/one_course_meal"
	},
	"criteria": {
		"bone_meal": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": "#minecraft:logs_that_burn"
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": [
								"minecraft:bone_meal"
							]
						}
					}
				]
			}
		},
		"bone_meal_propagule": {
			"trigger": "minecraft:item_used_on_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:location_check",
						"predicate": {
							"block": {
								"blocks": [
									"minecraft:air"
								]
							}
						}
					},
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": [
								"minecraft:bone_meal"
							]
						}
					}
				]
			}
		}
	},
	"requirements": [
		[
			"bone_meal",
			"bone_meal_propagule"
		]
	]
}