
export const dragonDataTypes = {
	"megaverse:dracon": {
		"projectile_type": "acid_spitting",
		"projectile_event_trigger": "minecraft:on_trigger"
	},
	"megaverse:fire_dragon": {
		"projectile_type": "firebreathing",
		"projectile_event_trigger": "minecraft:on_trigger",
		"age_types": {
			"adult": {
				"head_xz_view_offset": 9,
				"head_y_view_offset": 4,
				"bite_max_distance": 10,
				"bite_area_max_range": 4,
				"bite_end_time": 1,
				"bite_min_damage": 14,
				"bite_max_damage": 20,
				"bite_sound_definitions": {
					"name": "mob.ravager.bite",
					"pitch_range": {
						"min": 0.8,
						"max": 1.2
					},
					"volume": 2.0
				},
				"arm_angle": 4,
				"arm_depth": 7,
				"arm_forward_offset": 3.65,
				"arm_side_offset": 5,
				"left_arm_multiplier": 1,
				"right_arm_multiplier": -1,
				"leg_angle": 2,
				"leg_depth": 4,
				"leg_backward_offset": -2,
				"leg_side_offset": 1,
				"leg_y_offset": -1,
				"left_leg_multiplier": 1,
				"right_leg_multiplier": -1,
				"controlled_inputs": {
					"input_threshold": 0.5,
					"input_directions": {
						"0,0": "none",
						"0,1": "forward",
						"0,-1": "backward",
						"1,0": "left",
						"-1,0": "right",
						"1,1": "forward_left",
						"-1,1": "forward_right",
						"1,-1": "backward_left",
						"-1,-1": "backward_right"
					}
				}
			},
			"juvenile": {
				"head_xz_view_offset": 5.5,
				"head_y_view_offset": 2.5,
				"bite_max_distance": 8,
				"bite_area_max_range": 2,
				"bite_end_time": 0.5,
				"bite_min_damage": 7,
				"bite_max_damage": 12,
				"bite_sound_definitions": {
					"name": "mob.ravager.bite",
					"pitch_range": {
						"min": 1.3,
						"max": 1.7
					},
					"volume": 2.0
				},
				"arm_angle": 4,
				"arm_depth": 7,
				"arm_forward_offset": 2.65,
				"arm_side_offset": 3,
				"left_arm_multiplier": 1,
				"right_arm_multiplier": -1,
				"leg_angle": 2,
				"leg_depth": 4,
				"leg_backward_offset": -1,
				"leg_side_offset": 0.5,
				"leg_y_offset": -1,
				"left_leg_multiplier": 1,
				"right_leg_multiplier": -1,
				"controlled_inputs": {
					"input_threshold": 0.5,
					"input_directions": {
						"0,0": "none",
						"0,1": "forward",
						"0,-1": "backward",
						"1,0": "left",
						"-1,0": "right",
						"1,1": "forward_left",
						"-1,1": "forward_right",
						"1,-1": "backward_left",
						"-1,-1": "backward_right"
					}
				}
			}
		},
		"altitude_types": {
			"ascend_fast": {
				"player_pitch": -67.5,
				"dragon_altitude": 0.09,
				"hud_message": "↑↑↑"
			},
			"ascend_mid": {
				"player_pitch": {
					"min": -67.5,
					"max": -45.0
				},
				"dragon_altitude": 0.06,
				"hud_message": "↑↑-"
			},
			"ascend_slow": {
				"player_pitch": {
					"min": -45.0,
					"max": -22.5
				},
				"dragon_altitude": 0.03,
				"hud_message": "↑--"
			},
			"steady": {
				"player_pitch": {
					"min": -22.5,
					"max": 35
				},
				"hud_message": "---"
			},
			"descend_slow": {
				"player_pitch": {
					"min": 35.0,
					"max": 45.0
				},
				"dragon_altitude": -0.03,
				"hud_message": "--↓"
			},
			"descend_mid": {
				"player_pitch": {
					"min": 45.0,
					"max": 67.5
				},
				"dragon_altitude": -0.06,
				"hud_message": "-↓↓"
			},
			"descend_fast": {
				"player_pitch": 67.5,
				"dragon_altitude": -0.09,
				"hud_message": "↓↓↓"
			}
		}
	}
};

export const dragonProjectileDataTypes = {
	"megaverse:fire_dragon_adult_firebreath": {
		"projectile_type": "firebreathing",
		"projectile_event_trigger": "minecraft:on_trigger",
		"projectile_impact_particle": "megaverse:fire_dragon_firebreath",
		"projectile_area_size": [
			{ "min": { "x": 1, "y": 1, "z": 0 }, "max": { "x": -1, "y": -1, "z": 0 } },
			{ "min": { "x": 0, "y": 1, "z": 1 }, "max": { "x": 0, "y": -1, "z": -1 } },
			{ "min": { "x": 1, "y": 0, "z": 1 }, "max": { "x": -1, "y": 0, "z": -1 } }
		]
	},
	"megaverse:fire_dragon_baby_firebreath": {
		"projectile_type": "firebreathing",
		"projectile_event_trigger": "minecraft:on_trigger",
		"projectile_impact_particle": "megaverse:fire_dragon_baby_firebreath",
		"projectile_area_size": [
			{ "min": { "x": 1, "y": 1, "z": 0 }, "max": { "x": -1, "y": -1, "z": 0 } },
			{ "min": { "x": 0, "y": 1, "z": 1 }, "max": { "x": 0, "y": -1, "z": -1 } },
			{ "min": { "x": 1, "y": 0, "z": 1 }, "max": { "x": -1, "y": 0, "z": -1 } }
		]
	},
	"megaverse:fire_dragon_controlled_adult_firebreath": {
		"projectile_type": "firebreathing",
		"projectile_event_trigger": "minecraft:on_trigger",
		"projectile_impact_particle": "megaverse:fire_dragon_firebreath",
		"projectile_area_size": [
			{ "min": { "x": 1, "y": 1, "z": 0 }, "max": { "x": -1, "y": -1, "z": 0 } },
			{ "min": { "x": 0, "y": 1, "z": 1 }, "max": { "x": 0, "y": -1, "z": -1 } },
			{ "min": { "x": 1, "y": 0, "z": 1 }, "max": { "x": -1, "y": 0, "z": -1 } }
		]
	},
	"megaverse:fire_dragon_controlled_juvenile_firebreath": {
		"projectile_type": "firebreathing",
		"projectile_event_trigger": "minecraft:on_trigger",
		"projectile_impact_particle": "megaverse:fire_dragon_firebreath",
		"projectile_area_size": [
			{ "min": { "x": 1, "y": 1, "z": 0 }, "max": { "x": -1, "y": -1, "z": 0 } },
			{ "min": { "x": 0, "y": 1, "z": 1 }, "max": { "x": 0, "y": -1, "z": -1 } },
			{ "min": { "x": 1, "y": 0, "z": 1 }, "max": { "x": -1, "y": 0, "z": -1 } }
		]
	},
	"megaverse:fire_dragon_juvenile_firebreath": {
		"projectile_type": "firebreathing",
		"projectile_event_trigger": "minecraft:on_trigger",
		"projectile_impact_particle": "megaverse:fire_dragon_firebreath",
		"projectile_area_size": [
			{ "min": { "x": 1, "y": 1, "z": 0 }, "max": { "x": -1, "y": -1, "z": 0 } },
			{ "min": { "x": 0, "y": 1, "z": 1 }, "max": { "x": 0, "y": -1, "z": -1 } },
			{ "min": { "x": 1, "y": 0, "z": 1 }, "max": { "x": -1, "y": 0, "z": -1 } }
		]
	}
};