{
	"display": {
		"icon": {
			"id": "minecraft:light_blue_dye"
		},
		"title": {"translate":"Top of the World"},
		"description": {"color":"#75E1FF","translate":"Place scaffolding to the world limit"},
		"announce_to_chat": true,
		"frame": "goal"
	},
	"parent": "blazeandcave:biomes/construction_worker",
	"rewards": {
		"function": "bacap_rewards:biomes/top_of_the_world"
	},		
	"criteria": {
		"scaffolding": {
			"trigger": "minecraft:placed_block",
			"conditions": {
				"location": [
					{
						"condition": "minecraft:match_tool",
						"predicate": {
							"items": [
								"minecraft:scaffolding"
							]
						}
					},
					{
						"condition": "minecraft:any_of",
						"terms": [
							{
								"condition": "minecraft:location_check",
								"predicate": {
									"position": {
										"y": {
											"min": 319
										}
									},
									"dimension": "minecraft:overworld"
								}
							},
							{
								"condition": "minecraft:location_check",
								"predicate": {
									"position": {
										"y": {
											"min": 255
										}
									},
									"dimension": "minecraft:the_nether"
								}
							},
							{
								"condition": "minecraft:location_check",
								"predicate": {
									"position": {
										"y": {
											"min": 255
										}
									},
									"dimension": "minecraft:the_end"
								}
							}
						]
					}
				]
			}
		}
	}
}