{
	"display": {
		"icon": {
			"id": "minecraft:ice"
		},
		"title": {"translate":"Smooth Operator"},
		"description": {"color":"green","translate":"Slip and slide on some ice"},
		"announce_to_chat": true
	},
	"parent": "blazeandcave:biomes/root",
	"rewards": {
		"function": "bacap_rewards:biomes/smooth_operator"
	},		
	"criteria": {
		"smooth_operator": {
			"trigger": "minecraft:location",
			"conditions": {
				"player": [
					{
						"condition": "minecraft:entity_properties",
						"predicate": {
							"stepping_on": {
								"block": {
									"blocks": "#minecraft:ice"
								}
							}
						},
						"entity": "this"
					},
					{
						"condition": "minecraft:inverted",
						"term": {
							"condition": "minecraft:entity_properties",
							"entity": "this",
							"predicate": {
								"minecraft:type_specific/player": {

									"gamemode": ["spectator"]
								}
							}
						}
					}
				]
			}
		}
	}
}
