{
	"display": {
		"icon": {
			"id": "minecraft:light_blue_shulker_box"
		},
		"title": {"translate":"Anti-Gravity Generator"},
		"description": {"color":"dark_purple","translate":"Bring a shulker into the overworld and let it give you anti-gravity"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "minecraft:end/levitate",
	"rewards": {
		"function": "bacap_rewards:end/anti_gravity_generator"
	},		
	"criteria": {
		"shulker_hurt_player": {
			"trigger": "minecraft:entity_hurt_player",
			"conditions": {
				"damage": {
					"blocked": false,
					"source_entity": {
						"entity_type": "minecraft:shulker",
						"location": {
							"dimension": "overworld"
						}
					}
				}
			}
		}		
	}
}
