{
	"conditions": [{
		"type": "forge:mod_loaded",
		"modid": "twilightforest"
	}],
	"entity": "twilightforest:redcap_sapper",
	"weight": 90,
	"quality": 3,
	"size": {
		"width": 1,
		"height": 1
	},
	"valid_gear_sets": [
		"#twilight"
	],
	"dimensions": [
		"twilightforest:twilight_forest"
	],
	"min_rarity": "rare",
	"max_rarity": "epic",
	"stats": {
		"rare": {
			"enchant_chance": 0.5,
			"enchantment_levels": [19, 12, 27, 22],
			"effects": [{
				"effect": "minecraft:fire_resistance",
				"chance": 1.0
			}],
			"attribute_modifiers": [{
					"attribute": "minecraft:generic.max_health",
					"operation": "ADDITION",
					"value": {
						"min": 40,
						"steps": 40,
						"step": 2
					}
				},
				{
					"attribute": "minecraft:generic.movement_speed",
					"operation": "MULTIPLY_BASE",
					"value": {
						"min": 0.15,
						"steps": 18,
						"step": 0.01
					}
				},
				{
					"attribute": "minecraft:generic.attack_damage",
					"operation": "MULTIPLY_BASE",
					"value": {
						"min": 0.25,
						"steps": 30,
						"step": 0.01
					}
				},
				{
					"attribute": "apotheosis:arrow_damage",
					"operation": "MULTIPLY_BASE",
					"value": {
						"min": 0.25,
						"steps": 30,
						"step": 0.01
					}
				},
				{
					"attribute": "minecraft:generic.knockback_resistance",
					"operation": "ADDITION",
					"value": 0.4
				}
			]
		},
		"epic": {
			"enchant_chance": 0.65,
			"enchantment_levels": [21, 16, 30, 25],
			"effects": [{
				"effect": "minecraft:fire_resistance",
				"chance": 1.0
			}],
			"attribute_modifiers": [{
					"attribute": "minecraft:generic.max_health",
					"operation": "ADDITION",
					"value": {
						"min": 60,
						"steps": 45,
						"step": 2
					}
				},
				{
					"attribute": "minecraft:generic.movement_speed",
					"operation": "MULTIPLY_BASE",
					"value": {
						"min": 0.15,
						"steps": 22,
						"step": 0.01
					}
				},
				{
					"attribute": "minecraft:generic.attack_damage",
					"operation": "MULTIPLY_BASE",
					"value": {
						"min": 0.35,
						"steps": 35,
						"step": 0.01
					}
				},
				{
					"attribute": "apotheosis:arrow_damage",
					"operation": "MULTIPLY_BASE",
					"value": {
						"min": 0.35,
						"steps": 35,
						"step": 0.01
					}
				},
				{
					"attribute": "minecraft:generic.knockback_resistance",
					"operation": "ADDITION",
					"value": 0.5
				},
				{
					"attribute": "minecraft:generic.armor",
					"operation": "ADDITION",
					"value": 8
				},
				{
					"attribute": "minecraft:generic.armor_toughness",
					"operation": "ADDITION",
					"value": 4
				}
			]
		}
	}
}