{
	"display": {
		"icon": {
			"id": "minecraft:magma_block"
		},
		"title": {"translate":"Stepping on Legos"},
		"description": {"color":"green","translate":"Walk on some hot Magma Blocks in the Nether"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:nether/nugget_in_a_biscuit",
	"rewards": {
		"function": "bacap_rewards:nether/stepping_on_legos"
	},		
	"criteria": {
		"legos": {
			"trigger": "minecraft:location",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"stepping_on": {
								"block": {
									"blocks": [
										"minecraft:magma_block"
									]
								},
								"dimension": "the_nether"
							},
							"flags": {
								"is_sneaking": false
							}
						},
						"entity": "this"
					},
					{
						"condition": "minecraft:inverted",
						"term": {
							"condition": "minecraft:entity_properties",
							"predicate": {
								"equipment": {
									"feet": {
										"predicates": {
											"enchantments": [
												{
													"enchantments": "minecraft:frost_walker"
												}
											]
										}
									}
								}
							},
							"entity": "this"
						}
					},
					{
						"condition": "minecraft:inverted",
						"term": {
							"condition": "minecraft:entity_properties",
							"predicate": {
								"effects": {
									"minecraft:fire_resistance": {
										"amplifier": {
											"min": 0
										}
									}
								}
							},
							"entity": "this"
						}
					},
					{
						"condition": "minecraft:inverted",
						"term": {
							"condition": "minecraft:entity_properties",
							"entity": "this",
							"predicate": {
								"minecraft:type_specific/player": {
									"gamemode": ["spectator"]
								}
							}
						}
					}
				]
			}
		}
	}
}
