import {EnchantmentType} from '@minecraft/server';
// Configuration for Knowledge Experience
const skillRequirements = {
	items: {
		'minecraft:bow': {
			requirements: {
				skill: 'Weaponry', level: 4
			}
		},
		'minecraft:crossbow': {
			requirements: {
				skill: 'Weaponry', level: 8
			}
		},
		'minecraft:golden_sword': {
			requirements: [
				{ skill: 'Combat', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'minecraft:copper_sword': {
			requirements: {
				skill: 'Combat', level: 6
			}
		},
		'minecraft:iron_sword': {
			requirements: {
				skill: 'Combat', level: 8
			}
		},
		'minecraft:diamond_sword': {
			requirements: {
				skill: 'Combat', level: 16
			}
		},
		'minecraft:netherite_sword': {
			requirements: {
				skill: 'Combat', level: 20
			}
		},
		'sc:argent_sword': {
			requirements: {
				skill: 'Combat', level: 18
			}
		},
		'sc:wrought_claymore': {
			requirements: {
				skill: 'Combat', level: 22
			}
		},
		'sc:mithril_sword': {
			requirements: {
				skill: 'Combat', level: 22
			}
		},
		'azc:neptunium_sword': {
			requirements: {
				skill: 'Combat', level: 22
			}
		},
		'sc:drake_bone_greatsword': {
			requirements: {
				skill: 'Combat', level: 24
			}
		},
		'fc:blood_broadsword': {
			requirements: {
				skill: 'Ender', level: 8
			}
		},
		'fc:orc_ringleader_axe': {
			requirements: {
				skill: 'Combat', level: 16
			}
		},
		'fc:blade_of_the_fallen_knight': {
			requirements: {
				skill: 'Combat', level: 22
			}
		},
		'fc:lich_hand_ability': {
			requirements: {
				skill: 'Ender', level: 16
			}
		},
		'fc:orc_warlord_sword': {
			requirements: {
				skill: 'Combat', level: 16
			}
		},
		'fc:heros_bane': {
			requirements: {
				skill: 'Combat', level: 12
			}
		},
		'minecraft:trident': {
			requirements: {
				skill: 'Combat', level: 20
			}
		},
		'minecraft:golden_pickaxe': {
			requirements: [
				{ skill: 'Mining', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'minecraft:copper_pickaxe': {
			requirements: {
				skill: 'Mining', level: 6
			}
		},
		'minecraft:iron_pickaxe': {
			requirements: {
				skill: 'Mining', level: 8
			}
		},
		'minecraft:diamond_pickaxe': {
			requirements: {
				skill: 'Mining', level: 16
			}
		},
		'minecraft:netherite_pickaxe': {
			requirements: {
				skill: 'Mining', level: 20
			}
		},
		'sc:mithril_pickaxe': {
			requirements: {
				skill: 'Mining', level: 22
			}
		},
		'fc:silver_pickaxe': {
			requirements: {
				skill: 'Mining', level: 7
			}
		},
		'fc:ebony_pickaxe': {
			requirements: {
				skill: 'Mining', level: 22
			}
		},
		'azc:neptunium_pickaxe': {
			requirements: {
				skill: 'Mining', level: 22
			}
		},
		'minecraft:golden_shovel': {
			requirements: [
				{ skill: 'Mining', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'minecraft:copper_shovel': {
			requirements: {
				skill: 'Mining', level: 6
			}
		},
		'minecraft:iron_shovel': {
			requirements: {
				skill: 'Mining', level: 8
			}
		},
		'minecraft:diamond_shovel': {
			requirements: {
				skill: 'Mining', level: 16
			}
		},
		'minecraft:netherite_shovel': {
			requirements: {
				skill: 'Mining', level: 20
			}
		},
		'sc:mithril_shovel': {
			requirements: {
				skill: 'Mining', level: 22
			}
		},
		'fc:silver_shovel': {
			requirements: {
				skill: 'Mining', level: 7
			}
		},
		'fc:ebony_shovel': {
			requirements: {
				skill: 'Mining', level: 22
			}
		},
		'azc:neptunium_shovel': {
			requirements: {
				skill: 'Mining', level: 22
			}
		},
		'minecraft:golden_axe': {
			requirements: [
				{ skill: 'Husbandry', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'minecraft:copper_axe': {
			requirements: {
				skill: 'Husbandry', level: 6
			}
		},
		'minecraft:iron_axe': {
			requirements: {
				skill: 'Husbandry', level: 8
			}
		},
		'minecraft:diamond_axe': {
			requirements: {
				skill: 'Husbandry', level: 16
			}
		},
		'minecraft:netherite_axe': {
			requirements: {
				skill: 'Husbandry', level: 20
			}
		},
		'sc:mithril_axe': {
			requirements: {
				skill: 'Husbandry', level: 22
			}
		},
		'fc:silver_axe': {
			requirements: {
				skill: 'Husbandry', level: 7
			}
		},
		'fc:ebony_axe': {
			requirements: {
				skill: 'Husbandry', level: 22
			}
		},
		'azc:neptunium_axe': {
			requirements: {
				skill: 'Husbandry', level: 22
			}
		},
		'minecraft:golden_hoe': {
			requirements: [
				{ skill: 'Husbandry', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'minecraft:copper_hoe': {
			requirements: {
				skill: 'Husbandry', level: 6
			}
		},
		'minecraft:iron_hoe': {
			requirements: {
				skill: 'Husbandry', level: 8
			}
		},
		'minecraft:diamond_hoe': {
			requirements: {
				skill: 'Husbandry', level: 16
			}
		},
		'minecraft:netherite_hoe': {
			requirements: {
				skill: 'Husbandry', level: 20
			}
		},
		'sc:mithril_hoe': {
			requirements: {
				skill: 'Husbandry', level: 22
			}
		},
		'fc:silver_hoe': {
			requirements: {
				skill: 'Husbandry', level: 7
			}
		},
		'fc:ebony_hoe': {
			requirements: {
				skill: 'Husbandry', level: 22
			}
		},
		'azc:neptunium_hoe': {
			requirements: {
				skill: 'Husbandry', level: 22
			}
		},
		'minecraft:ender_pearl': {
			requirements: {
				skill: 'Ender', level: 16
			}
		},
		'minecraft:ender_eye': {
			requirements: {
				skill: 'Ender', level: 20
			}
		},
		'btr:copper_bo': {
			requirements: {
				skill: 'Combat', level: 6
			}
		},
		'btr:copper_battleaxe': {
			requirements: [
				{ skill: 'Combat', level: 6 },
				{ skill: 'Weaponry', level: 8 }
			]
		},
		'btr:copper_claymore': {
			requirements: [
				{ skill: 'Combat', level: 6 },
				{ skill: 'Weaponry', level: 12 }
			]
		},
		'btr:copper_dagger': {
			requirements: {
				skill: 'Combat', level: 6
			}
		},
		'btr:copper_glaive': {
			requirements: [
				{ skill: 'Combat', level: 6 },
				{ skill: 'Weaponry', level: 4 }
			]
		},
		'btr:copper_hammer': {
			requirements: [
				{ skill: 'Combat', level: 6 },
				{ skill: 'Weaponry', level: 10 }
			]
		},
		'btr:copper_katana': {
			requirements: {
				skill: 'Combat', level: 6
			}
		},
		'btr:copper_longsword': {
			requirements: [
				{ skill: 'Combat', level: 6 },
				{ skill: 'Weaponry', level: 6 }
			]
		},
		'btr:copper_nunchaku': {
			requirements: {
				skill: 'Combat', level: 6
			}
		},
		'btr:copper_rapier': {
			requirements: [
				{ skill: 'Combat', level: 6 },
				{ skill: 'Weaponry', level: 3 }
			]
		},
		'btr:copper_sabre': {
			requirements: [
				{ skill: 'Combat', level: 6 },
				{ skill: 'Weaponry', level: 2 }
			]
		},
		'btr:diamond_battleaxe': {
			requirements: [
				{ skill: 'Combat', level: 16 },
				{ skill: 'Weaponry', level: 8 }
			]
		},
		'btr:diamond_bo': {
			requirements: {
				skill: 'Combat', level: 16
			}
		},
		'btr:diamond_claymore': {
			requirements: [
				{ skill: 'Combat', level: 16 },
				{ skill: 'Weaponry', level: 12 }
			]
		},
		'btr:diamond_dagger': {
			requirements: {
				skill: 'Combat', level: 16
			}
		},
		'btr:diamond_glaive': {
			requirements: [
				{ skill: 'Combat', level: 16 },
				{ skill: 'Weaponry', level: 4 }
			]
		},
		'btr:diamond_hammer': {
			requirements: [
				{ skill: 'Combat', level: 16 },
				{ skill: 'Weaponry', level: 10 }
			]
		},
		'btr:diamond_katana': {
			requirements: {
				skill: 'Combat', level: 16
			}
		},
		'btr:diamond_longsword': {
			requirements: [
				{ skill: 'Combat', level: 16 },
				{ skill: 'Weaponry', level: 6 }
			]
		},
		'btr:diamond_nunchaku': {
			requirements: {
				skill: 'Combat', level: 16
			}
		},
		'btr:diamond_rapier': {
			requirements: [
				{ skill: 'Combat', level: 16 },
				{ skill: 'Weaponry', level: 3 }
			]
		},
		'btr:diamond_sabre': {
			requirements: [
				{ skill: 'Combat', level: 16 },
				{ skill: 'Weaponry', level: 2 }
			]
		},
		'btr:golden_battleaxe': {
			requirements: [
				{ skill: 'Combat', level: 4 },
				{ skill: 'Ender', level: 4 },
				{ skill: 'Weaponry', level: 8 }
			]
		},
		'btr:golden_bo': {
			requirements: [
				{ skill: 'Combat', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'btr:golden_claymore': {
			requirements: [
				{ skill: 'Combat', level: 4 },
				{ skill: 'Ender', level: 4 },
				{ skill: 'Weaponry', level: 12 }
			]
		},
		'btr:golden_dagger': {
			requirements: [
				{ skill: 'Combat', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'btr:golden_glaive': {
			requirements: [
				{ skill: 'Combat', level: 4 },
				{ skill: 'Ender', level: 4 },
				{ skill: 'Weaponry', level: 4 }
			]
		},
		'btr:golden_hammer': {
			requirements: [
				{ skill: 'Combat', level: 4 },
				{ skill: 'Ender', level: 4 },
				{ skill: 'Weaponry', level: 10 }
			]
		},
		'btr:golden_katana': {
			requirements: [
				{ skill: 'Combat', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'btr:golden_longsword': {
			requirements: [
				{ skill: 'Combat', level: 4 },
				{ skill: 'Ender', level: 4 },
				{ skill: 'Weaponry', level: 6 }
			]
		},
		'btr:golden_nunchaku': {
			requirements: [
				{ skill: 'Combat', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'btr:golden_rapier': {
			requirements: [
				{ skill: 'Combat', level: 4 },
				{ skill: 'Ender', level: 4 },
				{ skill: 'Weaponry', level: 3 }
			]
		},
		'btr:golden_sabre': {
			requirements: [
				{ skill: 'Combat', level: 4 },
				{ skill: 'Ender', level: 4 },
				{ skill: 'Weaponry', level: 2 }
			]
		},
		'btr:iron_battleaxe': {
			requirements: [
				{ skill: 'Combat', level: 8 },
				{ skill: 'Weaponry', level: 8 }
			]
		},
		'btr:iron_bo': {
			requirements: {
				skill: 'Combat', level: 8
			}
		},
		'btr:iron_claymore': {
			requirements: [
				{ skill: 'Combat', level: 8 },
				{ skill: 'Weaponry', level: 12 }
			]
		},
		'btr:iron_dagger': {
			requirements: {
				skill: 'Combat', level: 8
			}
		},
		'btr:iron_glaive': {
			requirements: [
				{ skill: 'Combat', level: 8 },
				{ skill: 'Weaponry', level: 4 }
			]
		},
		'btr:iron_hammer': {
			requirements: [
				{ skill: 'Combat', level: 8 },
				{ skill: 'Weaponry', level: 10 }
			]
		},
		'btr:iron_katana': {
			requirements: {
				skill: 'Combat', level: 8
			}
		},
		'btr:iron_longsword': {
			requirements: [
				{ skill: 'Combat', level: 8 },
				{ skill: 'Weaponry', level: 6 }
			]
		},
		'btr:iron_nunchaku': {
			requirements: {
				skill: 'Combat', level: 8
			}
		},
		'btr:iron_rapier': {
			requirements: [
				{ skill: 'Combat', level: 8 },
				{ skill: 'Weaponry', level: 3 }
			]
		},
		'btr:iron_sabre': {
			requirements: [
				{ skill: 'Combat', level: 8 },
				{ skill: 'Weaponry', level: 2 }
			]
		},
		'btr:netherite_battleaxe': {
			requirements: [
				{ skill: 'Combat', level: 20 },
				{ skill: 'Weaponry', level: 8 }
			]
		},
		'btr:netherite_bo': {
			requirements: {
				skill: 'Combat', level: 20
			}
		},
		'btr:netherite_claymore': {
			requirements: [
				{ skill: 'Combat', level: 20 },
				{ skill: 'Weaponry', level: 12 }
			]
		},
		'btr:netherite_dagger': {
			requirements: {
				skill: 'Combat', level: 20
			}
		},
		'btr:netherite_glaive': {
			requirements: [
				{ skill: 'Combat', level: 20 },
				{ skill: 'Weaponry', level: 4 }
			]
		},
		'btr:netherite_hammer': {
			requirements: [
				{ skill: 'Combat', level: 20 },
				{ skill: 'Weaponry', level: 10 }
			]
		},
		'btr:netherite_katana': {
			requirements: {
				skill: 'Combat', level: 20
			}
		},
		'btr:netherite_longsword': {
			requirements: [
				{ skill: 'Combat', level: 20 },
				{ skill: 'Weaponry', level: 6 }
			]
		},
		'btr:netherite_nunchaku': {
			requirements: {
				skill: 'Combat', level: 20
			}
		},
		'btr:netherite_rapier': {
			requirements: [
				{ skill: 'Combat', level: 20 },
				{ skill: 'Weaponry', level: 3 }
			]
		},
		'btr:netherite_sabre': {
			requirements: [
				{ skill: 'Combat', level: 20 },
				{ skill: 'Weaponry', level: 2 }
			]
		},
		'btr:stone_battleaxe': {
			requirements: {
				skill: 'Weaponry', level: 8
			}
		},
		'btr:stone_claymore': {
			requirements: {
				skill: 'Weaponry', level: 12
			}
		},
		'btr:stone_glaive': {
			requirements: {
				skill: 'Weaponry', level: 4
			}
		},
		'btr:stone_hammer': {
			requirements: {
				skill: 'Weaponry', level: 10
			}
		},
		'btr:stone_longsword': {
			requirements: {
				skill: 'Weaponry', level: 6
			}
		},
		'btr:stone_rapier': {
			requirements: {
				skill: 'Weaponry', level: 3
			}
		},
		'btr:stone_sabre': {
			requirements: {
				skill: 'Weaponry', level: 2
			}
		},
		'btr:wooden_battleaxe': {
			requirements: {
				skill: 'Weaponry', level: 8
			}
		},
		'btr:wooden_claymore': {
			requirements: {
				skill: 'Weaponry', level: 12
			}
		},
		'btr:wooden_glaive': {
			requirements: {
				skill: 'Weaponry', level: 4
			}
		},
		'btr:wooden_hammer': {
			requirements: {
				skill: 'Weaponry', level: 10
			}
		},
		'btr:wooden_longsword': {
			requirements: {
				skill: 'Weaponry', level: 6
			}
		},
		'btr:wooden_rapier': {
			requirements: {
				skill: 'Weaponry', level: 3
			}
		},
		'btr:wooden_sabre': {
			requirements: {
				skill: 'Weaponry', level: 2
			}
		},
		'azc:neptunium_battleaxe': {
			requirements: [
				{ skill: 'Combat', level: 22 },
				{ skill: 'Weaponry', level: 8 }
			]
		},
		'azc:neptunium_bo': {
			requirements: {
				skill: 'Combat', level: 22
			}
		},
		'azc:neptunium_claymore': {
			requirements: [
				{ skill: 'Combat', level: 22 },
				{ skill: 'Weaponry', level: 12 }
			]
		},
		'azc:neptunium_dagger': {
			requirements: {
				skill: 'Combat', level: 22
			}
		},
		'azc:neptunium_glaive': {
			requirements: [
				{ skill: 'Combat', level: 22 },
				{ skill: 'Weaponry', level: 4 }
			]
		},
		'azc:neptunium_hammer': {
			requirements: [
				{ skill: 'Combat', level: 22 },
				{ skill: 'Weaponry', level: 10 }
			]
		},
		'azc:neptunium_katana': {
			requirements: {
				skill: 'Combat', level: 22
			}
		},
		'azc:neptunium_longsword': {
			requirements: [
				{ skill: 'Combat', level: 22 },
				{ skill: 'Weaponry', level: 6 }
			]
		},
		'azc:neptunium_nunchaku': {
			requirements: {
				skill: 'Combat', level: 22
			}
		},
		'azc:neptunium_rapier': {
			requirements: [
				{ skill: 'Combat', level: 22 },
				{ skill: 'Weaponry', level: 3 }
			]
		},
		'azc:neptunium_sabre': {
			requirements: [
				{ skill: 'Combat', level: 22 },
				{ skill: 'Weaponry', level: 2 }
			]
		},
		'fc:tome_ochi_nekros': {
			requirements: {
				skill: 'Ender', level: 12
			}
		},
		'fc:tome_nekros_colossus': {
			requirements: {
				skill: 'Ender', level: 12
			}
		},
		'ard:enchanted_medkit': {
			requirements: {
				skill: 'Ender', level: 16
			}
		},
		'sc:staff_druid': {
			requirements: {
				skill: 'Ender', level: 16
			}
		},
		'sc:staff_fireball': {
			requirements: {
				skill: 'Ender', level: 16
			}
		},
		'sc:staff_frostbringer': {
			requirements: {
				skill: 'Ender', level: 16
			}
		},
		'sc:staff_thunderstrike': {
			requirements: {
				skill: 'Ender', level: 16
			}
		},
		'sc:tome_arachnid': {
			requirements: {
				skill: 'Ender', level: 4
			}
		},
		'sc:tome_decay': {
			requirements: {
				skill: 'Ender', level: 4
			}
		},
		'sc:tome_ember': {
			requirements: {
				skill: 'Ender', level: 4
			}
		},
		'sc:tome_marrow': {
			requirements: {
				skill: 'Ender', level: 4
			}
		},
		'sc:tome_frost': {
			requirements: {
				skill: 'Ender', level: 4
			}
		},
		'sc:tome_soulbinding': {
			requirements: {
				skill: 'Ender', level: 4
			}
		},
		'fc:tome_ochi_nekros': {
			requirements: {
				skill: 'Ender', level: 4
			}
		},
		'fc:tome_nekros_colossus': {
			requirements: {
				skill: 'Ender', level: 4
			}
		},
		'sc:scroll_webfire': {
			requirements: {
				skill: 'Ender', level: 8
			}
		},
		'sc:scroll_thunder': {
			requirements: {
				skill: 'Ender', level: 8
			}
		},
		'sc:scroll_soulburst': {
			requirements: {
				skill: 'Ender', level: 8
			}
		},
		'sc:scroll_soaring': {
			requirements: {
				skill: 'Ender', level: 8
			}
		},
		'sc:scroll_frostbringer': {
			requirements: {
				skill: 'Ender', level: 8
			}
		},
		'sc:scroll_fireball': {
			requirements: {
				skill: 'Ender', level: 8
			}
		},
		'lst:withered_sword': {
			requirements: {
				skill: 'Combat', level: 8
			}
		},
		'lst:holy_dagger': {
			requirements: {
				skill: 'Combat', level: 8
			}
		},
		'lst:corros_claymore': {
			requirements: [
				{ skill: 'Combat', level: 8 },
				{ skill: 'Weaponry', level: 12 }
			]
		},
		'lst:frost_glaive': {
			requirements: [
				{ skill: 'Combat', level: 8 },
				{ skill: 'Weaponry', level: 4 }
			]
		},
		'lst:storm_hammer': {
			requirements: [
				{ skill: 'Combat', level: 8 },
				{ skill: 'Weaponry', level: 10 }
			]
		},
		'lst:fiery_katana': {
			requirements: {
				skill: 'Combat', level: 8
			}
		},
		'lst:shadow_longsword': {
			requirements: [
				{ skill: 'Combat', level: 8 },
				{ skill: 'Weaponry', level: 6 }
			]
		},
		'lst:sweet_rapier': {
			requirements: [
				{ skill: 'Combat', level: 8 },
				{ skill: 'Weaponry', level: 3 }
			]
		},
		'lst:remnant_pickaxe': {
			requirements: {
				skill: 'Mining', level: 8
			}
		},
		'lst:reinforced_pickaxe': {
			requirements: {
				skill: 'Mining', level: 8
			}
		},
		'lst:echoes_pickaxe': {
			requirements: {
				skill: 'Mining', level: 8
			}
		},
		'lst:blazer_pickaxe': {
			requirements: {
				skill: 'Mining', level: 8
			}
		},
	},
	armors: {
		'minecraft:chainmail_helmet': {
			requirements: {
				skill: 'Defense', level: 4
			}
		},
		'minecraft:chainmail_chestplate': {
			requirements: {
				skill: 'Defense', level: 4
			}
		},
		'minecraft:chainmail_leggings': {
			requirements: {
				skill: 'Defense', level: 4
			}
		},
		'minecraft:chainmail_boots': {
			requirements: {
				skill: 'Defense', level: 4
			}
		},
		'fc:nekros_knight_helmet': {
			requirements: {
				skill: 'Defense', level: 4
			}
		},
		'fc:nekros_knight_chestplate': {
			requirements: {
				skill: 'Defense', level: 4
			}
		},
		'fc:nekros_knight_leggings': {
			requirements: {
				skill: 'Defense', level: 4
			}
		},
		'fc:nekros_knight_boots': {
			requirements: {
				skill: 'Defense', level: 4
			}
		},
		'minecraft:golden_helmet': {
			requirements: [
				{ skill: 'Defense', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'minecraft:golden_chestplate': {
			requirements: [
				{ skill: 'Defense', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'minecraft:golden_leggings': {
			requirements: [
				{ skill: 'Defense', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'minecraft:golden_boots': {
			requirements: [
				{ skill: 'Defense', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'fc:raven_hood': {
			requirements: [
				{ skill: 'Defense', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'fc:raven_chestplate': {
			requirements: [
				{ skill: 'Defense', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'fc:raven_leggings': {
			requirements: [
				{ skill: 'Defense', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'fc:raven_boots': {
			requirements: [
				{ skill: 'Defense', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'minecraft:copper_helmet': {
			requirements: {
				skill: 'Defense', level: 6
			}
		},
		'minecraft:copper_chestplate': {
			requirements: {
				skill: 'Defense', level: 6
			}
		},
		'minecraft:copper_leggings': {
			requirements: {
				skill: 'Defense', level: 6
			}
		},
		'minecraft:copper_boots': {
			requirements: {
				skill: 'Defense', level: 6
			}
		},
		'fc:silver_helmet': {
			requirements: {
				skill: 'Defense', level: 7
			}
		},
		'fc:silver_chestplate': {
			requirements: {
				skill: 'Defense', level: 7
			}
		},
		'fc:silver_leggings': {
			requirements: {
				skill: 'Defense', level: 7
			}
		},
		'fc:silver_boots': {
			requirements: {
				skill: 'Defense', level: 7
			}
		},
		'minecraft:iron_helmet': {
			requirements: {
				skill: 'Defense', level: 8
			}
		},
		'minecraft:iron_chestplate': {
			requirements: {
				skill: 'Defense', level: 8
			}
		},
		'minecraft:iron_leggings': {
			requirements: {
				skill: 'Defense', level: 8
			}
		},
		'minecraft:iron_boots': {
			requirements: {
				skill: 'Defense', level: 8
			}
		},
		'minecraft:diamond_helmet': {
			requirements: {
				skill: 'Defense', level: 16
			}
		},
		'minecraft:diamond_chestplate': {
			requirements: {
				skill: 'Defense', level: 16
			}
		},
		'minecraft:diamond_leggings': {
			requirements: {
				skill: 'Defense', level: 16
			}
		},
		'minecraft:diamond_boots': {
			requirements: {
				skill: 'Defense', level: 16
			}
		},
		'fc:orc_warlord_helmet': {
			requirements: {
				skill: 'Defense', level: 16
			}
		},
		'fc:flaming_centurion_helmet': {
			requirements: {
				skill: 'Defense', level: 16
			}
		},
		'fc:lord_of_deaths_hood': {
			requirements: {
				skill: 'Defense', level: 16
			}
		},
		'fc:lord_of_deaths_chestplate': {
			requirements: {
				skill: 'Defense', level: 16
			}
		},
		'minecraft:netherite_helmet': {
			requirements: {
				skill: 'Defense', level: 20
			}
		},
		'minecraft:netherite_chestplate': {
			requirements: {
				skill: 'Defense', level: 20
			}
		},
		'minecraft:netherite_leggings': {
			requirements: {
				skill: 'Defense', level: 20
			}
		},
		'minecraft:netherite_boots': {
			requirements: {
				skill: 'Defense', level: 20
			}
		},
		'azc:neptunium_helmet': {
			requirements: {
				skill: 'Defense', level: 22
			}
		},
		'azc:neptunium_chestplate': {
			requirements: {
				skill: 'Defense', level: 22
			}
		},
		'azc:neptunium_leggings': {
			requirements: {
				skill: 'Defense', level: 22
			}
		},
		'azc:neptunium_boots': {
			requirements: {
				skill: 'Defense', level: 22
			}
		},
		'sc:argent_helmet': {
			requirements: {
				skill: 'Defense', level: 18
			}
		},
		'sc:argent_chestplate': {
			requirements: {
				skill: 'Defense', level: 18
			}
		},
		'sc:argent_leggings': {
			requirements: {
				skill: 'Defense', level: 18
			}
		},
		'sc:argent_boots': {
			requirements: {
				skill: 'Defense', level: 18
			}
		},
		'fc:ebony_helmet': {
			requirements: {
				skill: 'Defense', level: 22
			}
		},
		'fc:ebony_chestplate': {
			requirements: {
				skill: 'Defense', level: 22
			}
		},
		'fc:ebony_leggings': {
			requirements: {
				skill: 'Defense', level: 22
			}
		},
		'fc:ebony_boots': {
			requirements: {
				skill: 'Defense', level: 22
			}
		},
		'sc:mithril_helmet': {
			requirements: {
				skill: 'Defense', level: 22
			}
		},
		'sc:mithril_chestplate': {
			requirements: {
				skill: 'Defense', level: 22
			}
		},
		'sc:mithril_leggings': {
			requirements: {
				skill: 'Defense', level: 22
			}
		},
		'sc:mithril_boots': {
			requirements: {
				skill: 'Defense', level: 22
			}
		},
		'sc:drake_bone_helmet': {
			requirements: {
				skill: 'Defense', level: 24
			}
		},
		'sc:drake_bone_chestplate': {
			requirements: {
				skill: 'Defense', level: 24
			}
		},
		'sc:drake_bone_leggings': {
			requirements: {
				skill: 'Defense', level: 24
			}
		},
		'sc:drake_bone_boots': {
			requirements: {
				skill: 'Defense', level: 24
			}
		},
		'fc:aornis_helmet': {
			requirements: {
				skill: 'Defense', level: 24
			}
		},
		'fc:aornis_chestplate': {
			requirements: {
				skill: 'Defense', level: 24
			}
		},
		'fc:aornis_leggings': {
			requirements: {
				skill: 'Defense', level: 24
			}
		},
		'fc:aornis_boots': {
			requirements: {
				skill: 'Defense', level: 24
			}
		},
	},
	shields: {
		'minecraft:shield': {
			requirements: {
				skill: 'Defense', level: 12
			}
		}
	},
	blocks: {
		'minecraft:gold_ore': {
			requirements: [
				{ skill: 'Mining', level: 2 },
				{ skill: 'Ender', level: 2 }
			]
		},
		'minecraft:iron_ore': {
			requirements: {
				skill: 'Mining', level: 4
			}
		},
		'minecraft:lapis_ore': {
			requirements: [
				{ skill: 'Mining', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'minecraft:redstone_ore': {
			requirements: {
				skill: 'Mining', level: 6
			}
		},
		'minecraft:lit_redstone_ore': {
			requirements: {
				skill: 'Mining', level: 6
			}
		},
		'minecraft:diamond_ore': {
			requirements: {
				skill: 'Mining', level: 8
			}
		},
		'minecraft:emerald_ore': {
			requirements: {
				skill: 'Mining', level: 8
			}
		},
		'minecraft:quartz_ore': {
			requirements: {
				skill: 'Mining', level: 4
			}
		},
		'minecraft:ancient_debris': {
			requirements: {
				skill: 'Mining', level: 12
			}
		},
		'minecraft:deepslate_iron_ore': {
			requirements: {
				skill: 'Mining', level: 4
			}
		},
		'minecraft:deepslate_gold_ore': {
			requirements: [
				{ skill: 'Mining', level: 2 },
				{ skill: 'Ender', level: 2 }
			]
		},
		'minecraft:deepslate_lapis_ore': {
			requirements: [
				{ skill: 'Mining', level: 4 },
				{ skill: 'Ender', level: 4 }
			]
		},
		'minecraft:deepslate_redstone_ore': {
			requirements: {
				skill: 'Mining', level: 6
			}
		},
		'minecraft:lit_deepslate_redstone_ore': {
			requirements: {
				skill: 'Mining', level: 6
			}
		},
		'minecraft:deepslate_diamond_ore': {
			requirements: {
				skill: 'Mining', level: 8
			}
		},
		'minecraft:deepslate_emerald_ore': {
			requirements: {
				skill: 'Mining', level: 8
			}
		},
		'minecraft:nether_gold_ore': {
			requirements: [
				{ skill: 'Mining', level: 2 },
				{ skill: 'Ender', level: 2 }
			]
		},
		'sc:argent_ore': {
			requirements: {
				skill: 'Mining', level: 9
			}
		},
		'sc:deepslate_argent_ore': {
			requirements: {
				skill: 'Mining', level: 9
			}
		},
		'sc:mithril_ore': {
			requirements: {
				skill: 'Mining', level: 16
			}
		},
		'sc:deepslate_mithril_ore': {
			requirements: {
				skill: 'Mining', level: 16
			}
		},
		'fc:ebony_deepslate_ore': {
			requirements: {
				skill: 'Mining', level: 18
			}
		},
		'fc:silver_block_ore': {
			requirements: {
				skill: 'Mining', level: 6
			}
		}
	}
};

const foods = {
	'sc:ale': [
		{
			typeId: 'nausea',
			duration: 20,
			amplifier: 1
		},
		{
			typeId: 'strength',
			duration: 20,
			amplifier: 0
		}
	],
	'sc:cider': [
		{
			typeId: 'nausea',
			duration: 15,
			amplifier: 1
		},
		{
			typeId: 'regeneration',
			duration: 15,
			amplifier: 0
		}
	],
	'sc:mead': {
		typeId: 'nausea',
		duration: 15,
		amplifier: 1
	},
	'sc:wine': [
		{
			typeId: 'nausea',
			duration: 15,
			amplifier: 1
		},
		{
			typeId: 'regeneration',
			duration: 15,
			amplifier: 0
		}
	],
	'sc:spider_queen_heart': {
		typeId: 'fatal_poison',
		duration: 10,
		amplifier: 0
	},
	'fdx:blaze_cream_soup': {
		typeId: 'fire_resistance',
		duration: 15,
		amplifier: 0
	},
	'fdx:golden_feast': [
		{
			typeId: 'regeneration',
			duration: 5,
			amplifier: 1
		}, 
		{
			typeId: 'absorption',
			duration: 120,
			amplifier: 0
		}
	],
	'fdx:green_jelly': {
		typeId: 'nausea',
		duration: 10,
		amplifier: 0
	},
	'fdx:spider_eye_stew': [
		{
			typeId: 'poison',
			duration: 5,
			amplifier: 0
		}, 
		{
			typeId: 'night_vision',
			duration: 15,
			amplifier: 0
		}
	],
	'fdx:batwing': {
		weight: 50,
		typeId: 'hunger',
		duration: 15,
		amplifier: 0
	},
	'fdx:cooked_batwing': {
		weight: 10,
		typeId: 'hunger',
		duration: 15,
		amplifier: 0
	},
	'fdx:nether_wart_stew': {
		removeEffects: ['bad_omen','blindness','fatal_poison','hunger','instant_damage','levitation','mining_fatigue','nausea','poison','slowness','weakness','wither'],
		typeId: 'wither',
		duration: 4,
		amplifier: 0
	},
	'azc:azc_jellyfish': [
		{
			typeId: 'poison',
			duration: 10,
			amplifier: 1
		},
		{
			typeId: 'nausea',
			duration: 10,
			amplifier: 1
		},
		{
			typeId: 'hunger',
			duration: 15,
			amplifier: 2
		}
	],
    'adv:abyssal_lurker': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:blaze_pike': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }, {
        typeId: 'wither',
        duration: 4,
        amplifier: 0
    }],
    'adv:bonefish': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:brown_shroomfin': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:cave_trout': [{
        typeId: 'resistance',
        duration: 10,
        amplifier: 1
    }],
    'adv:charged_bullhead': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:crystal_mullet': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:cursed_koi': [{
        typeId: 'poison',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:ender_shad': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:explosive_crucian': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:flarefin_koi': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }, {
        typeId: 'wither',
        duration: 4,
        amplifier: 0
    }],
    'adv:fungi_catfish': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:green_jellyfish': [{
        typeId: 'poison',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:jellyfish': [{
        typeId: 'poison',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:magikarp': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:magma_jellyfish': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }, {
        typeId: 'wither',
        duration: 4,
        amplifier: 0
    }],
	'adv:chorus_koi': [
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
	],
    'adv:mandarinfish': {
        onConsume: (player) => {
            player.addExperience(7);
        }
    },
    'adv:mud_tuna': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:nether_sturgeon': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:obsidian_bream': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:quartz_chub': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:red_shroomfin': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:sandy_bass': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:spookyfin': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'blindness',
        duration: 15,
        amplifier: 2
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:swamp_plaice': [{
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }],
    'adv:withered_crucian': [{
        typeId: 'wither',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'nausea',
        duration: 10,
        amplifier: 1
    }, {
        typeId: 'hunger',
        duration: 15,
        amplifier: 2
    }]
};

const magicItems = {
	'sc:staff_thunderstrike': {
		sound: 'lightning_staff.use',
		projectile: 'sc:lightning_ball',
		launch_power: 1,
		damage: 12
	},
	'sc:staff_fireball': {
		sound: 'pyre_staff.use',
		projectile: 'sc:fire_breath',
		particles: 'sc:fire_burst_particle',
		launch_power: 1,
		damage: 12
	},
	'sc:staff_frostbringer': {
		sound: 'glacis_shard_hit',
		projectile: 'sc:glacis_breath',
		particles: 'sc:frost_burst_particle',
		launch_power: 1,
		damage: 12
	},
	'sc:staff_druid': [
		{
			projectile: 'sc:summon_stumpling_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_stumpling_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_stumpling_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_stumpling_dummy',
			launch_power: 0.5,
		},
		{
			sound: 'soulburst_scroll',
			projectile: 'sc:summon_stumpling_dummy',
			particles: 'sc:natureburst_particle',
			launch_power: 0.5,
			damage: 25
		}
	],
	'sc:scroll_fireball': [
		{
			projectile: 'sc:fire_breath',
			launch_power: 1,
		},
		{
			projectile: 'sc:fire_breath',
			launch_power: 1,
		},
		{
			sound: 'pyre_staff.use',
			projectile: 'sc:fire_breath',
			launch_power: 1,
			damage: 12
		}
	],
	'sc:scroll_frostbringer': {
		sound: 'glacis_shard_hit',
		projectile: 'sc:glacis_breath',
		damage: 12,
		launch_power: 0.5,
	},
	'sc:scroll_soulburst': [
		{
			projectile: 'sc:summon_soul_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_soul_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_soul_dummy',
			launch_power: 0.5,
		},
		{
			sound: 'soulburst_scroll.summon',
			particles: 'sc:soulburst_particle',
			projectile: 'sc:summon_soul_dummy',
			launch_power: 0.5,
			damage: 12
		}
	],
	'sc:scroll_thunder': [
		{
			projectile: 'sc:lightning_ball',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:lightning_ball',
			launch_power: 0.5,
		},
		{
			sound: 'lightning_staff.use',
			projectile: 'sc:lightning_ball',
			launch_power: 0.5,
			damage: 12
		}
	],
	'sc:scroll_webfire': [
		{
			projectile: 'sc:web_spit',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:web_spit',
			launch_power: 0.5,
		},
		{
			sound: 'mob.llama.spit',
			projectile: 'sc:web_spit',
			launch_power: 0.5,
			damage: 12
		}
	],
	'sc:scroll_soaring': [
		{
			effect: 'slow_falling',
			duration: 30,
			amplifier: 3
		},
		{
			sound: 'beacon.activate',
			effect: 'jump_boost',
			duration: 30,
			amplifier: 12,
			damage: 12
		}
	],
	'sc:tome_decay': [
		{
			projectile: 'sc:summon_decay_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_decay_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_decay_dummy',
			launch_power: 0.5,
		},
		{
			sound: 'soulburst_scroll.summon',
			projectile: 'sc:summon_decay_dummy',
			particles: 'sc:soulburst_particle',
			launch_power: 0.5,
			decrementStack: 1
		}
	],
	'sc:tome_arachnid': [
		{
			summon: 'sc:summon_alpha_spider'
		},
		{
			summon: 'sc:summon_alpha_spider'
		},
		{
			summon: 'sc:summon_alpha_spider'
		},
		{
			sound: 'soulburst_scroll.summon',
			summon: 'sc:summon_alpha_spider',
			particles: 'sc:soulburst_particle',
			decrementStack: 1
		}
	],
	'sc:tome_ember': [
		{
			projectile: 'sc:summon_ashborne_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_ashborne_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_ashborne_dummy',
			launch_power: 0.5,
		},
		{
			sound: 'soulburst_scroll.summon',
			projectile: 'sc:summon_ashborne_dummy',
			particles: 'sc:fire_particle',
			launch_power: 0.5,
			decrementStack: 1
		}
	],
	'sc:tome_frost': [
		{
			projectile: 'sc:summon_frost_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_frost_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_frost_dummy',
			launch_power: 0.5,
		},
		{
			sound: 'soulburst_scroll.summon',
			projectile: 'sc:summon_frost_dummy',
			particles: 'sc:frost_particle',
			launch_power: 0.5,
			decrementStack: 1
		}
	],
	'sc:tome_marrow': [
		{
			projectile: 'sc:summon_marrow_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_marrow_dummy',
			launch_power: 0.5,
		},
		{
			projectile: 'sc:summon_marrow_dummy',
			launch_power: 0.5,
		},
		{
			sound: 'soulburst_scroll.summon',
			projectile: 'sc:summon_marrow_dummy',
			particles: 'sc:soulburst_particle',
			launch_power: 0.5,
			decrementStack: 1
		}
	],
	'sc:tome_soulbinding': [
		{
			event: 'binding',
			entity: 'sc:skeleton',
			radius: 10
		},
		{
			sound: 'soulburst_scroll.summon',
			particles: 'sc:soul_death_particle',
			event: 'binding',
			entity: 'sc:skeleton_knight',
			radius: 10,
			damage: 12
		}
	],
	'fc:blade_of_the_fallen_knight': {
		projectile: 'fc:knight_aornis_item_sweep',
		onUse: (player) => {
			player.playAnimation('animation.npc.fcplayer.orc_warlord_special_attack');
		},
		launch_power: 1,
		damage: 1
	},
	'fc:lich_hand_ability': {
		projectile: 'fc:abilitygreathand',
		onUse: (player) => {
			player.playAnimation('animation.npc.fcplayer.ability_hand');
		},
		effect: 'slowness',
		duration: 2,
		amplifier: 3,
		launch_power: 0.01,
		damage: 1
	},
	'fc:orc_warlord_sword': {
		projectile: 'fc:orc_warlord_item_sweep',
		sound: 'universal_swing_heavy',
		onUse: (player) => {
			player.playAnimation('animation.npc.fcplayer.orc_warlord_special_attack');
		},
		effect: 'slowness',
		duration: 2,
		amplifier: 5,
		launch_power: 1,
		damage: 1
	},
	'fc:blood_broadsword': [
		{
			projectile: 'fc:blood_broadsword_spikes_summoner',
			onUse: (player) => {
				player.playAnimation('animation.blood_broadsword.ability');
			},
			effect: 'slowness',
			duration: 2,
			amplifier: 5,
			launch_power: 0.01,
			damage: 1
		},
		{
			effect: 'weakness',
			duration: 2,
			amplifier: 5
		},
		{
			effect: 'instant_damage',
			duration: 1,
			amplifier: 0
		}
	],
	'fc:tome_nekros_colossus': {
		sound: 'necromancy_invocation',
		particles: 'fc:necromancy_invocation',
		summon: 'fc:nekros_colossus_conjured_lich',
		decrementStack: 1
	},
	'fc:tome_ochi_nekros': [
		{
			sound: 'necromancy_invocation',
			projectile: 'sc:summon_stumpling_dummy',
			particles: 'fc:necromancy_invocation',
			launch_power: 0.01,
			damage: 25
		},
		{
			projectile: 'fc:ochi_nekros_dummy',
			launch_power: 0.01,
		},
		{
			projectile: 'fc:ochi_nekros_dummy',
			launch_power: 0.01,
		},
		{
			projectile: 'fc:ochi_nekros_dummy',
			launch_power: 0.01,
		},
		{
			projectile: 'fc:ochi_nekros_dummy',
			launch_power: 0.01,
		}
	],
	'fc:old_spear': {
		onUse: (player) => {
			player.playAnimation('animation.npc.fcplayer.old_spear_special_attack');
			const entities = player.dimension.getEntities({ excludeTypes: ['minecraft:item'], excludeFamilies: ['inanimate'], location: player.location, maxDistance: 3.5, closest: 3.5 });
			entities.forEach(entity => {entity.applyDamage(9, {cause: 'entityAttack', damagingEntity: player})});
		},
		sound: 'universal_swing',
		effect: 'slowness',
		duration: 1,
		amplifier: 2,
		damage: 1
	},
	'fc:orc_ringleader_axe': {
		onUse: (player) => {
			player.playAnimation('animation.npc.fcplayer.orc_axe_special_attack');
			const entities = player.dimension.getEntities({ excludeTypes: ['minecraft:item'], excludeFamilies: ['inanimate'], location: player.location, maxDistance: 3, closest: 3 });
			entities.forEach(entity => {entity.applyDamage(12, {cause: 'entityAttack', damagingEntity: player})});
		},
		effect: 'slowness',
		duration: 1,
		amplifier: 2,
		damage: 1
	},
	'fc:healing_totem': {
		effect: 'instant_health',
		duration: 1,
		amplifier: 2,
		sound: 'random.totem',
		particles: 'totem_manual',
		damage: 1
	},
	'fc:protection_totem': {
		effect: 'resistance',
		duration: 60,
		amplifier: 1,
		sound: 'random.totem',
		particles: 'totem_manual',
		damage: 1
	}
};

const magicWeapons = {
	'fc:blade_of_the_fallen_knight': {
		weight: 12.5,
		effect: 'wither',
		duration: 3,
		amplifier: 1,
		target: 'other'
	},
	'fc:heros_bane': [
		{
			effect: 'slowness',
			duration: 12,
			amplifier: 2,
			target: 'other'
		},
		{
			effect: 'weakness',
			duration: 8,
			amplifier: 1,
			target: 'other'
		},
		{
			effect: 'wither',
			duration: 15,
			amplifier: 2,
			target: 'other',
			damage: 9
		}
	],
	'fc:blood_broadsword': {
		weight: 12.5,
		effect: 'instant_damage',
		duration: 3,
		amplifier: 1,
		target: 'other'
	}
};

const bossBlocks = {
	'sc:wrought_paladin_spawner': [
		{
		summon: 'sc:wrought_sentry'
		},
		{
			summon: 'sc:wrought_paladin',
			x: 10
		},
		{
			summon: 'sc:wrought_paladin',
			x: -10
		},
		{
			summon: 'sc:wrought_paladin',
			z: 10
		},
		{
			summon: 'sc:wrought_paladin',
			z: -10
		}
	],
	'sc:troblin_spawner': [
		{
			summon: 'sc:troblin_shaman'
		},
		{
			summon: 'sc:troblin',
			x: 1
		},
		{
			summon: 'sc:troblin',
			x: -1
		},
		{
			summon: 'sc:troblin',
			z: 1
		},
		{
			summon: 'sc:troblin',
			z: -1
		}
	],
	'sc:spider_queen_spawner': {
		summon: 'sc:spider_queen'
	},
	'sc:pyre_drake_spawner': {
		summon: 'sc:pyre_drake'
	},
	'sc:glacis_drake_spawner': {
		summon: 'sc:glacis_drake'
	},
	'sc:goblin_squad_spawner': [
		{
			summon: 'sc:groglin'
		},
		{
			summon: 'sc:groglin'
		},
		{
			summon: 'sc:groglin'
		},
		{
			summon: 'sc:groglin'
		},
		{
			summon: 'sc:groglin'
		},
		{
			summon: 'sc:groglin'
		}
	],
	'sc:dwarf_spawner': {
		summon: 'sc:dwarf'
	},
	'sc:gargoyle_spawner': {
		summon: 'sc:gargoyle'
	},
	'fc:placer_knight_aornis': {
		summon: 'fc:knight_aornis'
	},
	'fc:placer_lich': {
		summon: 'fc:lich'
	},
	'fc:placer_nekros_colossus': {
		summon: 'fc:nekros_colossus'
	},
	'fc:placer_orc_warlord': {
		summon: 'fc:orc_warchief'
	},
	'fc:placer_orc_ringleader': {
		summon: 'fc:orc_ringleader'
	},
	'rm:spawn_boss_block': {
		summon: 'wil:h_a'
	}
};

const layeredBlocks = [
	{
		//the block ID
		id: "sc:gold_pile",
		//the item ID
		itemID: "sc:gold_pile",
		//the sound data
		placeSound: {
			id: "dig.chain",
			volume: 1,
			pitch: 1
		}
	},
	{
		//the block ID
		id: "sc:iron_pile",
		//the item ID
		itemID: "sc:iron_pile",
		//the sound data
		placeSound: {
			id: "dig.chain",
			volume: 1,
			pitch: 1
		}
	}
];

const cropBlocks = [
	{
		//the crop block ID
		blockID: "sc:grape_vine_body",
		//the growth state ID
		stateID: "sc:stage",
		//the max number in the growth state
		maxStage: 3,
		//the grow chance (numerator has to be less than the denominator, unless if you want the chance to be 100%)
		growChance: {
			numerator: 1,
			denominator: 3
		},
		//able to use bone meal on this block
		bonemealable: true
	},
	{
		//the crop block ID
		blockID: "sc:herba_plant",
		//the growth state ID
		stateID: "sc:stage",
		//the max number in the growth state
		maxStage: 2,
		//the grow chance (numerator has to be less than the denominator, unless if you want the chance to be 100%)
		growChance: {
			numerator: 1,
			denominator: 3
		},
		//able to use bone meal on this block
		bonemealable: true
	}
];

const cakes = [
    {
        blockID: "cake_template:cake_default",
        stateID: "cake_template:slice",
        onEat: (player)=>{
            player.sendMessage("ate");
        },
        eatNoise: {
            id: "random.burp",
            volume: 1,
            pitch: 0.95
        },
        effects: [
            {
                id: "saturation",
                amplifier: 1,
                duration: 1,
                showParticles: false
            }
        ]
    },
    {
        blockID: "chr:cake_fire_resistance_block",
        stateID: "cake_template:slice",
        eatNoise: {
            id: "random.burp",
            volume: 1,
            pitch: 0.95
        },
        effects: [
            {
                id: "saturation",
                amplifier: 1,
                duration: 1,
                showParticles: false
            },
            {
                id: "fire_resistance",
                amplifier: 0,
                duration: 30,
                showParticles: false
            }
        ]
    },
    {
        blockID: "chr:cake_haste_block",
        stateID: "cake_template:slice",
        eatNoise: {
            id: "random.burp",
            volume: 1,
            pitch: 0.95
        },
        effects: [
            {
                id: "saturation",
                amplifier: 1,
                duration: 1,
                showParticles: false
            },
            {
                id: "haste",
                amplifier: 0,
                duration: 30,
                showParticles: false
            }
        ]
    },
    {
        blockID: "chr:cake_fire_resistance_block",
        stateID: "cake_template:slice",
        eatNoise: {
            id: "random.burp",
            volume: 1,
            pitch: 0.95
        },
        effects: [
            {
                id: "saturation",
                amplifier: 1,
                duration: 1,
                showParticles: false
            },
            {
                id: "fire_resistance",
                amplifier: 0,
                duration: 30,
                showParticles: false
            }
        ]
    },
    {
        blockID: "chr:cake_jump_boost_block",
        stateID: "cake_template:slice",
        eatNoise: {
            id: "random.burp",
            volume: 1,
            pitch: 0.95
        },
        effects: [
            {
                id: "saturation",
                amplifier: 1,
                duration: 1,
                showParticles: false
            },
            {
                id: "jump_boost",
                amplifier: 0,
                duration: 30,
                showParticles: false
            }
        ]
    },
    {
        blockID: "chr:cake_night_vision_block",
        stateID: "cake_template:slice",
        eatNoise: {
            id: "random.burp",
            volume: 1,
            pitch: 0.95
        },
        effects: [
            {
                id: "saturation",
                amplifier: 1,
                duration: 1,
                showParticles: false
            },
            {
                id: "night_vision",
                amplifier: 0,
                duration: 30,
                showParticles: false
            }
        ]
    },
    {
        blockID: "chr:cake_regeneration_block",
        stateID: "cake_template:slice",
        eatNoise: {
            id: "random.burp",
            volume: 1,
            pitch: 0.95
        },
        effects: [
            {
                id: "saturation",
                amplifier: 1,
                duration: 1,
                showParticles: false
            },
            {
                id: "regeneration",
                amplifier: 0,
                duration: 30,
                showParticles: false
            }
        ]
    },
    {
        blockID: "chr:cake_resistance_block",
        stateID: "cake_template:slice",
        eatNoise: {
            id: "random.burp",
            volume: 1,
            pitch: 0.95
        },
        effects: [
            {
                id: "saturation",
                amplifier: 1,
                duration: 1,
                showParticles: false
            },
            {
                id: "resistance",
                amplifier: 0,
                duration: 30,
                showParticles: false
            }
        ]
    },
    {
        blockID: "chr:cake_slow_falling_block",
        stateID: "cake_template:slice",
        eatNoise: {
            id: "random.burp",
            volume: 1,
            pitch: 0.95
        },
        effects: [
            {
                id: "saturation",
                amplifier: 1,
                duration: 1,
                showParticles: false
            },
            {
                id: "slow_falling",
                amplifier: 0,
                duration: 30,
                showParticles: false
            }
        ]
    },
    {
        blockID: "chr:cake_speed_block",
        stateID: "cake_template:slice",
        eatNoise: {
            id: "random.burp",
            volume: 1,
            pitch: 0.95
        },
        effects: [
            {
                id: "saturation",
                amplifier: 1,
                duration: 1,
                showParticles: false
            },
            {
                id: "speed",
                amplifier: 0,
                duration: 30,
                showParticles: false
            }
        ]
    },
    {
        blockID: "chr:cake_strength_block",
        stateID: "cake_template:slice",
        eatNoise: {
            id: "random.burp",
            volume: 1,
            pitch: 0.95
        },
        effects: [
            {
                id: "saturation",
                amplifier: 1,
                duration: 1,
                showParticles: false
            },
            {
                id: "strength",
                amplifier: 0,
                duration: 30,
                showParticles: false
            }
        ]
    },
    {
        blockID: "chr:cake_water_breathing_block",
        stateID: "cake_template:slice",
        eatNoise: {
            id: "random.burp",
            volume: 1,
            pitch: 0.95
        },
        effects: [
            {
                id: "saturation",
                amplifier: 1,
                duration: 1,
                showParticles: false
            },
            {
                id: "water_breathing",
                amplifier: 0,
                duration: 30,
                showParticles: false
            }
        ]
    }
];

const enchantments = {
	'btr:combo_i_book': {
		enchantmentId: 'btr:combo',
		enchantmentName: 'Combo',
		toolType: 'minecraft:is_nunchaku',
		lvl: 1,
		lvlUp: 'btr:combo_ii'
	},
	'btr:combo_ii_book': {
		enchantmentId: 'btr:combo',
		enchantmentName: 'Combo',
		toolType: 'minecraft:is_nunchaku',
		lvl: 2,
		lvlUp: 'btr:combo_iii'
	},
	'btr:combo_iii_book': {
		enchantmentId: 'btr:combo',
		enchantmentName: 'Combo',
		toolType: 'minecraft:is_nunchaku',
		lvl: 3
	},
	'btr:assasinate_i_book': {
		enchantmentId: 'btr:assasinate',
		enchantmentName: 'Assasinate',
		toolType: 'minecraft:is_dagger',
		lvl: 1,
		lvlUp: 'btr:assasinate_ii_book'
	},
	'btr:assasinate_ii_book': {
		enchantmentId: 'btr:assasinate',
		enchantmentName: 'Assasinate',
		toolType: 'minecraft:is_dagger',
		lvl: 2,
		lvlUp: 'btr:assasinate_iii_book'
	},
	'btr:assasinate_iii_book': {
		enchantmentId: 'btr:assasinate',
		enchantmentName: 'Assasinate',
		toolType: 'minecraft:is_dagger',
		lvl: 3
	},
	'btr:bash_i_book': {
		enchantmentId: 'btr:bash',
		enchantmentName: 'Bash',
		toolType: 'minecraft:is_hammer',
		lvl: 1,
		lvlUp: 'btr:bash_ii_book'
	},
	'btr:bash_ii_book': {
		enchantmentId: 'btr:bash',
		enchantmentName: 'Bash',
		toolType: 'minecraft:is_hammer',
		lvl: 2,
		lvlUp: 'btr:bash_iii_book'
	},
	'btr:bash_iii_book': {
		enchantmentId: 'btr:bash',
		enchantmentName: 'Bash',
		toolType: 'minecraft:is_hammer',
		lvl: 3
	},
	'btr:disarm_i_book': {
		enchantmentId: 'btr:disarm',
		enchantmentName: 'Disarm',
		toolType: 'minecraft:is_battleaxe',
		lvl: 1,
		lvlUp: 'btr:disarm_ii_book'
	},
	'btr:disarm_ii_book': {
		enchantmentId: 'btr:disarm',
		enchantmentName: 'Disarm',
		toolType: 'minecraft:is_battleaxe',
		lvl: 2,
		lvlUp: 'btr:disarm_iii_book'
	},
	'btr:disarm_iii_book': {
		enchantmentId: 'btr:disarm',
		enchantmentName: 'Disarm',
		toolType: 'minecraft:is_battleaxe',
		lvl: 3
	},
	'btr:atomic_deconstructor_book': {
		enchantmentId: 'btr:atomicDeconstructor',
		enchantmentName: 'Atomic Deconstructor',
		toolType: 'minecraft:is_sword',
		lvl: 1
	},
	'btr:science_book': {
		enchantmentId: 'btr:science',
		enchantmentName: 'Science',
		toolType: 'minecraft:is_sword',
		lvl: 1
	},
	'btr:vampirism_book': {
		enchantmentId: 'btr:vampirism',
		enchantmentName: 'Vampirism',
		toolType: 'minecraft:is_sword',
		lvl: 1
	},
	'btr:education_book': {
		enchantmentId: 'btr:education',
		enchantmentName: 'Education',
		toolType: 'minecraft:is_sword',
		lvl: 1
	},
	'btr:envenomed_book': {
		enchantmentId: 'btr:envenomed',
		enchantmentName: 'Envenomed',
		toolType: 'minecraft:is_sword',
		lvl: 1
	},
	'btr:fling_book': {
		enchantmentId: 'btr:fling',
		enchantmentName: 'Fling',
		toolType: 'minecraft:is_sword',
		lvl: 1
	},
	'btr:freezing_book': {
		enchantmentId: 'btr:freezing',
		enchantmentName: 'Freezing',
		toolType: 'minecraft:is_sword',
		lvl: 1
	},
	'btr:penetration_book': {
		enchantmentId: 'btr:penetration',
		enchantmentName: 'Penetration',
		toolType: 'minecraft:is_sword',
		lvl: 1
	},
	'btr:purging_book': {
		enchantmentId: 'btr:purging',
		enchantmentName: 'Purging',
		toolType: 'minecraft:is_sword',
		lvl: 1
	},
	'btr:jagged_rake_book': {
		enchantmentId: 'btr:jaggedRake',
		enchantmentName: 'Jagged Rake',
		toolType: 'minecraft:is_hoe',
		lvl: 1
	},
	'btr:diamonds_everywhere_book': {
		enchantmentId: 'btr:diamondsEverywhere',
		enchantmentName: 'Diamonds Everywhere',
		toolType: 'minecraft:is_pickaxe',
		lvl: 1
	},
	'btr:smelting_book': {
		enchantmentId: 'btr:smelting',
		enchantmentName: 'Smelting',
		toolType: 'minecraft:is_pickaxe',
		lvl: 1
	},
	'chr:collecting_book': {
		enchantmentId: 'chr:collecting',
		enchantmentName: 'Collecting',
		toolType: 'minecraft:is_pickaxe',
		lvl: 1
	}
};

const potions = {
	'btr:potion_bottle_blindness': {
		typeId: 'blindness',
		duration: 15,
		amplifier: 0
	},
	'btr:potion_bottle_cure': {
		removeEffects: ['bad_omen','blindness','fatal_poison','hunger','instant_damage','levitation','mining_fatigue','nausea','poison','slowness','weakness','wither']
	},
	'btr:potion_bottle_dispel': {
		removeEffects: ['absorption','conduit_power','fire_resistance','haste','health_boost','instant_health','jump_boost','night_vision','regeneration','resistance','saturation','slow_falling','speed','strength','village_hero','water_breathing']
	},
	'btr:potion_bottle_ender_warp': [
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
		{
			onConsume: (player) => {
				player.runCommandAsync('spreadplayers ~ ~ 0.1 8.0 @s')
			}
		},
	],
	'btr:potion_bottle_milky': {
		removeEffects: ['absorption','conduit_power','fire_resistance','haste','health_boost','instant_health','jump_boost','night_vision','regeneration','resistance','saturation','slow_falling','speed','strength','village_hero','water_breathing','bad_omen','blindness','fatal_poison','hunger','instant_damage','levitation','mining_fatigue','nausea','poison','slowness','weakness','wither']
	},
	'chr:coffee': [
		{
			typeId: 'strength',
			duration: 15,
			amplifier: 0
		},
		{
			typeId: 'speed',
			duration: 15,
			amplifier: 0
		},
		{
			typeId: 'haste',
			duration: 15,
			amplifier: 0
		}
	],
	'ins:potion_bottle_saturation': {
		typeId: 'saturation',
		duration: 180,
		amplifier: 0
	},
	'ins:potion_bottle_resistance': {
		typeId: 'resistance',
		duration: 180,
		amplifier: 0
	},
	'ins:potion_bottle_nausea': {
		typeId: 'nausea',
		duration: 15,
		amplifier: 0
	},
	'ins:potion_bottle_mining_fatigue': {
		typeId: 'mining_fatigue',
		duration: 30,
		amplifier: 0
	},
	'ins:potion_bottle_levitation': {
		typeId: 'levitation',
		duration: 15,
		amplifier: 0
	},
	'ins:potion_bottle_hunger': {
		typeId: 'hunger',
		duration: 30,
		amplifier: 0
	},
	'ins:potion_bottle_health_boost': {
		typeId: 'health_boost',
		duration: 180,
		amplifier: 0
	},
	'ins:potion_bottle_haste': {
		typeId: 'haste',
		duration: 180,
		amplifier: 0
	},
	'ins:potion_bottle_blindness': {
		typeId: 'blindness',
		duration: 15,
		amplifier: 0
	},
	'ins:potion_bottle_absorption': {
		typeId: 'absorption',
		duration: 180,
		amplifier: 0
	}
};

const projectiles = {
	'btr:dynamite': {
		sound: 'random.bow',
		projectile: 'btr:dynamite',
		launch_power: 0.5,
		decrementStack: 1
	},
	'btr:potion_lingering_blindness': {
		sound: 'random.bow',
		projectile: 'btr:lingering_blindness',
		launch_power: 0.5,
		decrementStack: 1
	},
	'btr:potion_lingering_cure': {
		sound: 'random.bow',
		projectile: 'btr:lingering_cure',
		launch_power: 0.5,
		decrementStack: 1
	},
	'btr:potion_lingering_dispel': {
		sound: 'random.bow',
		projectile: 'btr:lingering_dispel',
		launch_power: 0.5,
		decrementStack: 1
	},
	'btr:potion_lingering_ender_warp': {
		sound: 'random.bow',
		projectile: 'btr:lingering_ender_warp',
		launch_power: 0.5,
		decrementStack: 1
	},
	'btr:potion_lingering_milky': {
		sound: 'random.bow',
		projectile: 'btr:lingering_milky',
		launch_power: 0.5,
		decrementStack: 1
	},
	'btr:potion_splash_blindness': {
		sound: 'random.bow',
		projectile: 'btr:splash_blindness',
		launch_power: 0.5,
		decrementStack: 1
	},
	'btr:potion_splash_cure': {
		sound: 'random.bow',
		projectile: 'btr:splash_cure',
		launch_power: 0.5,
		decrementStack: 1
	},
	'btr:potion_splash_dispel': {
		sound: 'random.bow',
		projectile: 'btr:splash_dispel',
		launch_power: 0.5,
		decrementStack: 1
	},
	'btr:potion_splash_ender_warp': {
		sound: 'random.bow',
		projectile: 'btr:splash_ender_warp',
		launch_power: 0.5,
		decrementStack: 1
	},
	'btr:potion_splash_milky': {
		sound: 'random.bow',
		projectile: 'btr:splash_milky',
		launch_power: 0.5,
		decrementStack: 1
	},
	'chr:splash_coffee': {
		sound: 'random.bow',
		projectile: 'chr:splash_coffee',
		launch_power: 0.5,
		decrementStack: 1
	},
	'chr:lingering_coffee': {
		sound: 'random.bow',
		projectile: 'chr:lingering_coffee',
		launch_power: 0.5,
		decrementStack: 1
	},
	'chr:charged_emerald': {
		sound: 'random.bow',
		projectile: 'chr:charged_emerald',
		launch_power: 1,
		decrementStack: 1
	},
	'chr:glowball': {
		sound: 'random.bow',
		projectile: 'chr:glowball',
		launch_power: 1,
		decrementStack: 1
	},
	'chr:bat_bucket': {
		sound: 'bucket.empty_powder_snow',
		summon: 'minecraft:bat',
		effect: 'minecraft:slow_falling',
		duration: 30,
		amplifier: 0,
		transformItem: 'minecraft:bucket',
		decrementStack: 1
	},
	'ins:potion_splash_absorption': {
		sound: 'random.bow',
		projectile: 'ins:splash_absorption',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_splash_saturation': {
		sound: 'random.bow',
		projectile: 'ins:splash_saturation',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_splash_resistance': {
		sound: 'random.bow',
		projectile: 'ins:splash_resistancn',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_splash_blindness': {
		sound: 'random.bow',
		projectile: 'ins:splash_blindness',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_splash_haste': {
		sound: 'random.bow',
		projectile: 'ins:splash_haste',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_splash_heath_boost': {
		sound: 'random.bow',
		projectile: 'ins:splash_heath_boost',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_splash_nausea': {
		sound: 'random.bow',
		projectile: 'ins:splash_nausea',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_splash_mining_fatigue': {
		sound: 'random.bow',
		projectile: 'ins:splash_mining_fatigue',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_splash_levitation': {
		sound: 'random.bow',
		projectile: 'ins:splash_levitation',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_splash_hunger': {
		sound: 'random.bow',
		projectile: 'ins:potion_splash_hunger',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_lingering_absorption': {
		sound: 'random.bow',
		projectile: 'ins:lingering_absorption',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_lingering_saturation': {
		sound: 'random.bow',
		projectile: 'ins:lingering_saturation',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_lingering_resistance': {
		sound: 'random.bow',
		projectile: 'ins:lingering_resistancn',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_lingering_blindness': {
		sound: 'random.bow',
		projectile: 'ins:lingering_blindness',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_lingering_haste': {
		sound: 'random.bow',
		projectile: 'ins:lingering_haste',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_lingering_heath_boost': {
		sound: 'random.bow',
		projectile: 'ins:lingering_heath_boost',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_lingering_nausea': {
		sound: 'random.bow',
		projectile: 'ins:lingering_nausea',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_lingering_mining_fatigue': {
		sound: 'random.bow',
		projectile: 'ins:lingering_mining_fatigue',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_lingering_levitation': {
		sound: 'random.bow',
		projectile: 'ins:lingering_levitation',
		launch_power: 0.5,
		decrementStack: 1
	},
	'ins:potion_lingering_hunger': {
		sound: 'random.bow',
		projectile: 'ins:potion_lingering_hunger',
		launch_power: 0.5,
		decrementStack: 1
	}
};

const axes = [
	'btr:copper_axe','btr:wooden_battleaxe','btr:stone_battleaxe','btr:golden_battleaxe','btr:iron_battleaxe','btr:diamond_battleaxe','btr:netherite_battleaxe','btr:neptunium_battleaxe','sc:mithril_axe','fc:ebony_axe','fc:silver_axe','str:flint_axe'
];
const shovels = [
	'btr:copper_shovel','sc:mithril_shovel','fc:ebony_shovel','fc:silver_shovel','str:flint_shovel'
];
const hoes = [
	'btr:copper_hoe','sc:mithril_hoe','fc:ebony_hoe','fc:silver_hoe','str:flint_hoe'
];

const pickaxesState = {
	"wooden_pickaxe": "wood",
	"stone_pickaxe": "stone",
	"iron_pickaxe": "iron",
	"golden_pickaxe": "gold",
	"diamond_pickaxe": "diamond",
	"netherite_pickaxe": "netherite",
	"argent_pickaxe": "argent",
	"mithril_pickaxe": "mithril",
	"ebony_pickaxe": "ebony",
	"silver_pickaxe": "silver"
};

const axesState = {
	"wooden_axe": "wood",
	"stone_axe": "stone",
	"iron_axe": "iron",
	"golden_axe": "gold",
	"diamond_axe": "diamond",
	"netherite_axe": "netherite",
	"argent_axe": "argent",
	"mithril_axe": "mithril",
	"ebony_axe": "ebony",
	"silver_axe": "silver"
};

const shovelsState = {
	"wooden_shovel": "wood",
	"stone_shovel": "stone",
	"iron_shovel": "iron",
	"golden_shovel": "gold",
	"diamond_shovel": "diamond",
	"netherite_shovel": "netherite",
	"argent_shovel": "argent",
	"mithril_shovel": "mithril",
	"ebony_shovel": "ebony",
	"silver_shovel": "silver"
};

const hoesState = {
	"wooden_hoe": "wood",
	"stone_hoe": "stone",
	"iron_hoe": "iron",
	"golden_hoe": "gold",
	"diamond_hoe": "diamond",
	"netherite_hoe": "netherite",
	"argent_hoe": "argent",
	"mithril_hoe": "mithril",
	"ebony_hoe": "ebony",
	"silver_hoe": "silver"
};

const pickUpItems = {
	'str:rock': {
		item: 'str:rock_item',
		sound: 'dig.stone'
	},
	'str:rock_sandstone': {
		item: 'str:rock_sandstone_item',
		sound: 'dig.stone'
	},
	'str:rock_redsandstone': {
		item: 'str:rock_redsandstone_item',
		sound: 'dig.stone'
	},
	'str:rock_granite': {
		item: 'str:rock_granite_item',
		sound: 'dig.stone'
	},
	'str:rock_diorite': {
		item: 'str:rock_diorite_item',
		sound: 'dig.stone'
	},
	'str:rock_andesite': {
		item: 'str:rock_andesite_item',
		sound: 'dig.stone'
	},
	'str:stick_one': {
		item: 'minecraft:stick',
		sound: 'dig.wood'
	},
	'str:stick_two': {
		item: 'minecraft:stick',
		sound: 'dig.wood'
	},
	'flg:ground_bone_one': {
		item: 'minecraft:bone',
		sound: 'dig.bone_block'
	},
	'flg:ground_bone_two': {
		item: 'minecraft:bone',
		sound: 'dig.bone_block'
	},
	'flg:ground_prismarine_one': {
		item: 'minecraft:prismarine_shard',
		sound: 'dig.prismarine_block'
	},
	'flg:ground_prismarine_two': {
		item: 'minecraft:prismarine_shard',
		sound: 'dig.prismarine_block'
	}
};

const grassTypes = {
	'flg:netherrack_vines':'flg:netherrack_vines_item',
	'flg:sand_grass': 'flg:sand_grass_item',
	'flg:mycelium_grass': 'flg:mycelium_grass_item',
	'flg:chorus_grass': 'flg:chorus_grass_item'
};

const invItemEffects = {
	'rng:ring_strength_first_on': {
		conditions: {
			hasTag: "ring_strength_first"
		},
		effects: {
			clStrength: 1
		}
	},
	'rng:ring_strength_second_on': {
		conditions: {
			hasTag: "ring_strength_second"
		},
		effects: {
			clStrength: 1
		}
	},
	'rng:ring_speed_first_on': {
		conditions: {
			hasTag: "ring_speed_first"
		},
		effects: {
			clSpeed: 1
		}
	},
	'rng:ring_speed_second_on': {
		conditions: {
			hasTag: "ring_speed_second"
		},
		effects: {
			clSpeed: 1
		}
	},
	'rng:ring_haste_first_on': {
		conditions: {
			hasTag: "ring_haste_first"
		},
		effects: {
			clHaste: 1
		}
	},
	'rng:ring_haste_second_on': {
		conditions: {
			hasTag: "ring_haste_second"
		},
		effects: {
			clHaste: 1
		}
	},
	'rng:ring_jumpboost_first_on': {
		conditions: {
			hasTag: "ring_jumpboost_first"
		},
		effects: {
			clJumpBoost: 1
		}
	},
	'rng:ring_jumpboost_second_on': {
		conditions: {
			hasTag: "ring_jumpboost_second"
		},
		effects: {
			clJumpBoost: 1
		}
	},
	'rng:ring_regeneration_first_on': {
		conditions: {
			hasTag: "ring_regeneration_first"
		},
		effects: {
			clRegeneration: 1
		}
	},
	'rng:ring_regeneration_second_on': {
		conditions: {
			hasTag: "ring_regeneration_second"
		},
		effects: {
			clRegeneration: 1
		}
	},
	'rng:ring_resistance_first_on': {
		conditions: {
			hasTag: "ring_resistance_first"
		},
		effects: {
			clResistance: 1
		}
	},
	'rng:ring_resistance_second_on': {
		conditions: {
			hasTag: "ring_resistance_second"
		},
		effects: {
			clResistance: 1
		}
	},
	'trr:aglet_on': {
		conditions: {
			hasTag: "aglet"
		},
		effects: {
			clSpeed: 1
		}
	},
	'trr:anklet_of_the_wind_on': {
		conditions: {
			hasTag: "anklet_of_the_wind"
		},
		effects: {
			clSpeed: 2
		}
	},
	'trr:blindfold_on': {
		conditions: {
			hasTag: "blindfold"
		},
		removeEffects: ['blindness','darkness']
	},
	'trr:bonnet_on': {
		conditions: {
			hasTag: "bonnet",
			isInWater: true
		},
		effects: {
			clWaterBreathing: 1
		}
	},
	'trr:obsidian_skull_on': {
		conditions: {
			hasTag: "obsidian_skull"
		},
		effects: {
			clFireResistance: 1
		}
	},
	'trr:phantom_eye_on': {
		conditions: {
			hasTag: "phantom_eye"
		},
		effects: {
			clNightVision: 1
		}
	},
	'trr:midnight_skull_on': {
		conditions: {
			hasTag: "midnight_skull"
		},
		effects: {
			clFireResistance: 1,
			clNightVision: 1
		}
	},
	'trr:dunerider_boots_on': {
		conditions: {
			hasTag: "dunerider_boots",
			blockBelow: "minecraft:sand"
		},
		effects: {
			clSpeed: 1
		}
	},
	'trr:ice_skates_on': {
		conditions: {
			hasTag: "ice_skates",
			blockBelow: "minecraft:ice"
		},
		effects: {
			clSpeed: 1
		}
	},
	'trr:flipper_on': {
		conditions: {
			hasTag: "flipper",
			isInWater: true
		},
		effects: {
			clSpeed: 1
		}
	},
	'trr:frog_leg_on': {
		conditions: {
			hasTag: "frog_leg"
		},
		effects: {
			clJumpBoost: 1
		}
	},
	'trr:frog_flipper_on': {
		conditions: {
			hasTag: 'frog_flipper'
		},
		effects: {
			clJumpBoost: 1
		},
		condition1: {
			hasTag: "frog_flipper",
			isInWater: true
		},
		effects1: {
			clSpeed: 1
		}
	},
	'trr:flower_boots_on': {
		conditions: {
			hasTag: "flower_boots",
			blockBelow: "minecraft:grass"
		},
		effects: {
			fill: "flower"
		}
	},
	'trr:band_of_regeneration_on': {
		conditions: {
			hasTag: "band_of_regeneration"
		},
		effects: {
			clRegeneration: 1
		}
	},
	'trr:valentine_ring_on': {
		conditions: {
			hasTag: "valentine_ring"
		},
		effects: {
			clRegeneration: 1,
			clJumpBoost: 1
		}
	},
	'trr:feral_claws_on': {
		conditions: {
			hasTag: "feral_claws"
		},
		effects: {
			clStrength: 1
		}
	},
	'trr:shackle_on': {
		conditions: {
			hasTag: "shackle"
		},
		effects: {
			clResistance: 1
		}
	},
	'trr:ancient_chisel_on': {
		conditions: {
			hasTag: "ancient_chisel"
		},
		effects: {
			clHaste: 1
		}
	},
	'trr:handwarmer_on': {
		conditions: {
			hasTag: "handwarmer"
		},
		effects: {
			hot_gear: 2
		}
	},
	'trr:jellyfish_necklace_on': {
		conditions: {
			hasTag: "jellyfish_necklace",
			isInWater: true
		},
		effects: {
			clNightVision: 1
		}
	},
	'trr:magiluminescence_on': {
		conditions: {
			hasTag: "magiluminescence"
		},
		effects: {
			clSpeed: 3
		}
	},
	'trr:shiny_red_balloon_on': {
		conditions: {
			hasTag: "shiny_red_balloon",
			isOnGround: false
		},
		effects: {
			clSlowFalling: 1
		}
	},
	'trr:lucky_horseshoe_balloon_on': {
		conditions: {
			hasTag: "lucky_horseshoe_balloon"
		},
		effects: {
			clJumpBoost: 1
		},
		condition1: {
			hasTag: "lucky_horseshoe_balloon",
			isOnGround: false
		},
		effects1: {
			clSlowFalling: 1
		}
	},
	'trr:obsidian_horseshoe_balloon_on': {
		conditions: {
			hasTag: "obsidian_horseshoe_balloon"
		},
		effects: {
			clJumpBoost: 1,
			clFireResistance: 1
		},
		condition1: {
			hasTag: "obsidian_horseshoe_balloon",
			isOnGround: false
		},
		effects1: {
			clSlowFalling: 1
		}
	},
	'trr:adhesive_bandage_on': {
		conditions: {
			hasTag: "adhesive_bandage"
		},
		removeEffects: 'wither'
	},
	'trr:bezoar_on': {
		conditions: {
			hasTag: "bezoar"
		},
		removeEffects: 'poison'
	},
	'trr:fast_clock_on': {
		conditions: {
			hasTag: "fast_clock"
		},
		removeEffects: 'slowness'
	},
	'trr:chorus_heart_on': {
		conditions: {
			hasTag: "chorus_heart"
		},
		removeEffects: 'levitation'
	},
	'trr:forbidden_fruit_on': {
		conditions: {
			hasTag: "forbidden_fruit"
		},
		removeEffects: ['hunger','nausea']
	},
	'trr:vitamins_on': {
		conditions: {
			hasTag: "vitamins"
		},
		removeEffects: ['weakness','mining_fatigue']
	},
	'trr:ankh_charm_on': {
		conditions: {
			hasTag: "ankh_charm"
		},
		removeEffects: [
			'poison',
			'wither',
			'blindness',
			'darkness',
			'slowness',
			'levitation',
			'hunger',
			'nausea',
			'weakness',
			'mining_fatigue'
		]
	},
	'trr:chorus_clock_on': {
		conditions: {
			hasTag: "chorus_clock"
		},
		removeEffects: ['slowness','levitation']
	},
	'trr:discount_card_on': {
		conditions: {
			hasTag: "discount_card"
		},
		effects: {
			clVillageHero: 1
		}
	},
	'trr:lucky_horseshoe_on': {
		conditions: {
			hasTag: "lucky_horseshoe"
		},
		effects: {
			clJumpBoost: 1
		}
	},
	'trr:obsidian_horseshoe_on': {
		conditions: {
			hasTag: "obsidian_horseshoe"
		},
		effects: {
			clJumpBoost: 1,
			clFireResistance: 1
		}
	},
	'trr:medicated_bandage_on': {
		conditions: {
			hasTag: "medicated_bandage"
		},
		removeEffects: ['wither','poison']
	},
	'trr:neptunes_shell_on': {
		conditions: {
			hasTag: "neptunes_shell",
			isInWater: true
		},
		effects: {
			clNightVision: 1,
			clWaterBreathing: 1,
			clSpeed: 1
		}
	},
	'trr:cobalt_shield_on': {
		conditions: {
			hasTag: "cobalt_shield"
		},
		effects: {
			clResistance: 1
		}
	},
	'trr:obsidian_shield_on': {
		conditions: {
			hasTag: "obsidian_shield"
		},
		effects: {
			clResistance: 1,
			clFireResistance: 1
		}
	},
	'trr:ankh_shield_on': {
		conditions: {
			hasTag: "ankh_shield"
		},
		effects: {
			clResistance: 1,
			clFireResistance: 1
		},
		removeEffects: [
			'poison',
			'wither',
			'blindness',
			'darkness',
			'slowness',
			'levitation',
			'hunger',
			'nausea',
			'weakness',
			'mining_fatigue'
		]
	}
};

const armourEffects = {
	'minecraft:lether_helmet': {
		conditions: {
			hasTag: "knw:tome"
		},
		effects: {
			clAbsorption: 0.25
		}
	},
	'minecraft:lether_chestplate': {
		conditions: {
			hasTag: "knw:tome"
		},
		effects: {
			clAbsorption: 0.25
		}
	},
	'minecraft:lether_leggings': {
		conditions: {
			hasTag: "knw:tome"
		},
		effects: {
			clAbsorption: 0.25
		}
	},
	'minecraft:lether_boots': {
		conditions: {
			hasTag: "knw:tome"
		},
		effects: {
			clAbsorption: 0.25
		}
	},
	'minecraft:golden_helmet': {
		conditions: {
			hasTag: "knw:tome"
		},
		effects: {
			clRegeneration: 0.25
		}
	},
	'minecraft:golden_chestplate': {
		conditions: {
			hasTag: "knw:tome"
		},
		effects: {
			clRegeneration: 0.25
		}
	},
	'minecraft:golden_leggings': {
		conditions: {
			hasTag: "knw:tome"
		},
		effects: {
			clRegeneration: 0.25
		}
	},
	'minecraft:golden_boots': {
		conditions: {
			hasTag: "knw:tome"
		},
		effects: {
			clRegeneration: 0.25
		}
	},
	'azc:neptunium_helmet': {
		conditions: {
			isInWater: true
		},
		effects: {
			clNightVision: 1
		}
	},
	'azc:neptunium_chestplate': {
		conditions: {
			isInWater: true
		},
		effects: {
			clWaterBreathing: 1
		}
	},
	'azc:neptunium_leggings': {
		conditions: {
			isInWater: true
		},
		effects: {
			clSlowFalling: 1
		}
	},
	'azc:neptunium_boots': {
		conditions: {
			isInWater: true
		},
		effects: {
			clSpeed: 6
		}
	},
	'fc:lord_of_deaths_hood': {
		noConditions: true,
		effects: {
			clRegeneration: 0.5,
			clSlowFalling: 0.5
		}
	},
	'fc:lord_of_deaths_chestplate': {
		noConditions: true,
		effects: {
			clRegeneration: 0.5,
			clSlowFalling: 0.5,
			clResistance: 0.5
		}
	},
	'fc:orc_warlord_helmet': {
		noConditions: true,
		effects: {
			clStrength: 1
		}
	},
	'fc:raven_hood': {
		noConditions: true,
		effects: {
			clSpeed: 0.25
		}
	},
	'fc:raven_chestplate': {
		noConditions: true,
		effects: {
			clSpeed: 0.25
		}
	},
	'fc:raven_leggings': {
		noConditions: true,
		effects: {
			clSpeed: 0.25
		}
	},
	'fc:raven_boots': {
		noConditions: true,
		effects: {
			clSpeed: 0.25
		}
	},
	'fc:aornis_helmet': {
		noConditions: true,
		effects: {
			clFireResistance: 0.25,
			clStrength: 0.25
		}
	},
	'fc:aornis_chestplate': {
		noConditions: true,
		effects: {
			clFireResistance: 0.25,
			clStrength: 0.25
		}
	},
	'fc:aornis_leggings': {
		noConditions: true,
		effects: {
			clFireResistance: 0.25,
			clStrength: 0.25
		}
	},
	'fc:aornis_boots': {
		noConditions: true,
		effects: {
			clFireResistance: 0.25,
			clStrength: 0.25
		}
	},
};

const mainHandItemEffects = {
	'azc:neptunium_sword': {
		conditions: {
			isInWater: true
		},
		effects: {
			clStrength: 1
		}
	},
	'azc:neptunium_sabre': {
		conditions: {
			isInWater: true
		},
		effects: {
			clStrength: 1
		}
	},
	'azc:neptunium_longsword': {
		conditions: {
			isInWater: true
		},
		effects: {
			clStrength: 1
		}
	},
	'azc:neptunium_katana': {
		conditions: {
			isInWater: true
		},
		effects: {
			clStrength: 1
		}
	},
	'azc:neptunium_hammer': {
		conditions: {
			isInWater: true
		},
		effects: {
			clStrength: 1
		}
	},
	'azc:neptunium_glaive': {
		conditions: {
			isInWater: true
		},
		effects: {
			clStrength: 1
		}
	},
	'azc:neptunium_claymore': {
		conditions: {
			isInWater: true
		},
		effects: {
			clStrength: 1
		}
	},
	'azc:neptunium_dagger': {
		conditions: {
			isInWater: true
		},
		effects: {
			clStrength: 1
		}
	},
	'azc:neptunium_rapier': {
		noConditions: true,
		effects: {
			clResistance: 1
		},
		condition1: {
			isInWater: true
		},
		effects1: {
			clStrength: 1
		}
	},
	'azc:neptunium_nunchaku': {
		conditions: {
			isInWater: true
		},
		effects: {
			clStrength: 1
		}
	},
	'azc:neptunium_bo': {
		conditions: {
			isInWater: true
		},
		effects: {
			clStrength: 1
		}
	},
	'azc:neptunium_battleaxe': {
		conditions: {
			isInWater: true
		},
		effects: {
			clStrength: 1
		}
	},
	'azc:neptunium_axe': {
		conditions: {
			isInWater: true
		},
		effects: {
			clStrength: 1
		}
	},
	'azc:neptunium_pickaxe': {
		conditions: {
			isInWater: true
		},
		effects: {
			clHaste: 3
		}
	},
	'azc:neptunium_shovel': {
		conditions: {
			isInWater: true
		},
		effects: {
			clHaste: 3
		}
	},
	'btr:wooden_rapier': {
		noConditions: true,
		effects: {
			clResistance: 1
		}
	},
	'btr:stone_rapier': {
		noConditions: true,
		effects: {
			clResistance: 1
		}
	},
	'btr:copper_rapier': {
		noConditions: true,
		effects: {
			clResistance: 1
		}
	},
	'btr:iron_rapier': {
		noConditions: true,
		effects: {
			clResistance: 1
		}
	},
	'btr:golden_rapier': {
		noConditions: true,
		effects: {
			clResistance: 1
		}
	},
	'btr:diamond_rapier': {
		noConditions: true,
		effects: {
			clResistance: 1
		}
	},
	'btr:netherite_rapier': {
		noConditions: true,
		effects: {
			clResistance: 1
		}
	},
	'lst:fiery_katana': {
		noConditions: true,
		effects: {
			clFireResistance: 1
		}
	},
	'lst:frost_glaive': {
		noConditions: true,
		removeEffects: 'slowness'
	},
	'lst:shadow_longsword': {
		noConditions: true,
		removeEffects: 'blindness'
	},
	'lst:sweet_rapier': {
		noConditions: true,
		removeEffects: 'wither'
	},
	'lst:withered_sword': {
		noConditions: true,
		removeEffects: 'wither'
	},
	'fc:lich_hand_ability': {
		noConditions: true,
		effects: {
			clResistance: 0.5
		}
	},
	'fc:old_spear': {
		noConditions: true,
		effects: {
			clJumpBoost: 1
		}
	}
};

const offHandItemEffects = {
	'fc:mining_talisman': {
		noConditions: true,
		effects: {
			clHaste: 1
		}
	},
	'fc:crimson_blessing': {
		noConditions: true,
		effects: {
			clRegeneration: 1,
			clFireResistance: 1
		}
	},
};

const effects = {
	'clSpeed': {
		'-5': {
			effectName: 'slowness',
			amplifier: 4
		},
		'-4': {
			effectName: 'slowness',
			amplifier: 3
		},
		'-3': {
			effectName: 'slowness',
			amplifier: 2
		},
		'-2': {
			effectName: 'slowness',
			amplifier: 1
		},
		'-1': {
			effectName: 'slowness',
			amplifier: 0
		},
		'1': {
			effectName: 'speed',
			amplifier: 0
		},
		'2': {
			effectName: 'speed',
			amplifier: 1
		},
		'3': {
			effectName: 'speed',
			amplifier: 2
		},
		'4': {
			effectName: 'speed',
			amplifier: 3
		},
		'5': {
			effectName: 'speed',
			amplifier: 4
		},
		'6': {
			effectName: 'speed',
			amplifier: 5
		},
		'7': {
			effectName: 'speed',
			amplifier: 6
		},
		'8': {
			effectName: 'speed',
			amplifier: 7
		},
		'9': {
			effectName: 'speed',
			amplifier: 8
		},
		'10': {
			effectName: 'speed',
			amplifier: 9
		}
	},
	'clStrength': {
		'-5': {
			effectName: 'weakness',
			amplifier: 4
		},
		'-4': {
			effectName: 'weakness',
			amplifier: 3
		},
		'-3': {
			effectName: 'weakness',
			amplifier: 2
		},
		'-2': {
			effectName: 'weakness',
			amplifier: 1
		},
		'-1': {
			effectName: 'weakness',
			amplifier: 0
		},
		'1': {
			effectName: 'strength',
			amplifier: 0
		},
		'2': {
			effectName: 'strength',
			amplifier: 1
		},
		'3': {
			effectName: 'strength',
			amplifier: 2
		},
		'4': {
			effectName: 'strength',
			amplifier: 3
		},
		'5': {
			effectName: 'strength',
			amplifier: 4
		},
		'6': {
			effectName: 'strength',
			amplifier: 5
		},
		'7': {
			effectName: 'strength',
			amplifier: 6
		},
		'8': {
			effectName: 'strength',
			amplifier: 7
		},
		'9': {
			effectName: 'strength',
			amplifier: 8
		},
		'10': {
			effectName: 'strength',
			amplifier: 9
		}
	},
	'clResistance': {
		'1': {
			effectName: 'resistance',
			amplifier: 0
		},
		'2': {
			effectName: 'resistance',
			amplifier: 1
		},
		'3': {
			effectName: 'resistance',
			amplifier: 2
		},
		'4': {
			effectName: 'resistance',
			amplifier: 3
		},
		'5': {
			effectName: 'resistance',
			amplifier: 4
		},
		'6': {
			effectName: 'resistance',
			amplifier: 5
		},
		'7': {
			effectName: 'resistance',
			amplifier: 6
		},
		'8': {
			effectName: 'resistance',
			amplifier: 7
		},
		'9': {
			effectName: 'resistance',
			amplifier: 8
		},
		'10': {
			effectName: 'resistance',
			amplifier: 9
		}
	},
	'clJumpBoost': {
		'1': {
			effectName: 'jump_boost',
			amplifier: 0
		},
		'2': {
			effectName: 'jump_boost',
			amplifier: 1
		},
		'3': {
			effectName: 'jump_boost',
			amplifier: 2
		},
		'4': {
			effectName: 'jump_boost',
			amplifier: 3
		},
		'5': {
			effectName: 'jump_boost',
			amplifier: 4
		},
		'6': {
			effectName: 'jump_boost',
			amplifier: 5
		},
		'7': {
			effectName: 'jump_boost',
			amplifier: 6
		},
		'8': {
			effectName: 'jump_boost',
			amplifier: 7
		},
		'9': {
			effectName: 'jump_boost',
			amplifier: 8
		},
		'10': {
			effectName: 'jump_boost',
			amplifier: 9
		}
	},
	'clRegeneration': {
		'1': {
			effectName: 'regeneration',
			amplifier: 0,
			duration: 5*20
		},
		'2': {
			effectName: 'regeneration',
			amplifier: 1,
			duration: 5*20
		},
		'3': {
			effectName: 'regeneration',
			amplifier: 2,
			duration: 5*20
		},
		'4': {
			effectName: 'regeneration',
			amplifier: 3,
			duration: 5*20
		},
		'5': {
			effectName: 'regeneration',
			amplifier: 4,
			duration: 5*20
		},
		'6': {
			effectName: 'regeneration',
			amplifier: 5,
			duration: 5*20
		},
		'7': {
			effectName: 'regeneration',
			amplifier: 6,
			duration: 5*20
		},
		'8': {
			effectName: 'regeneration',
			amplifier: 7,
			duration: 5*20
		},
		'9': {
			effectName: 'regeneration',
			amplifier: 8,
			duration: 5*20
		},
		'10': {
			effectName: 'regeneration',
			amplifier: 9,
			duration: 5*20
		}
	},
	'clHaste': {
		'-5': {
			effectName: 'mining_fatigue',
			amplifier: 4
		},
		'-4': {
			effectName: 'mining_fatigue',
			amplifier: 3
		},
		'-3': {
			effectName: 'mining_fatigue',
			amplifier: 2
		},
		'-2': {
			effectName: 'mining_fatigue',
			amplifier: 1
		},
		'-1': {
			effectName: 'mining_fatigue',
			amplifier: 0
		},
		'1': {
			effectName: 'haste',
			amplifier: 0
		},
		'2': {
			effectName: 'haste',
			amplifier: 1
		},
		'3': {
			effectName: 'haste',
			amplifier: 2
		},
		'4': {
			effectName: 'haste',
			amplifier: 3
		},
		'5': {
			effectName: 'haste',
			amplifier: 4
		},
		'6': {
			effectName: 'haste',
			amplifier: 5
		},
		'7': {
			effectName: 'haste',
			amplifier: 6
		},
		'8': {
			effectName: 'haste',
			amplifier: 7
		},
		'9': {
			effectName: 'haste',
			amplifier: 8
		},
		'10': {
			effectName: 'haste',
			amplifier: 9
		}
	},
	'clAbsorption': {
		'1': {
			effectName: 'absorption',
			amplifier: 0
		},
		'2': {
			effectName: 'absorption',
			amplifier: 1
		},
		'3': {
			effectName: 'absorption',
			amplifier: 2
		},
		'4': {
			effectName: 'absorption',
			amplifier: 3
		},
		'5': {
			effectName: 'absorption',
			amplifier: 4
		},
		'6': {
			effectName: 'absorption',
			amplifier: 5
		},
		'7': {
			effectName: 'absorption',
			amplifier: 6
		},
		'8': {
			effectName: 'absorption',
			amplifier: 7
		},
		'9': {
			effectName: 'absorption',
			amplifier: 8
		},
		'10': {
			effectName: 'absorption',
			amplifier: 9
		}
	}
};

const ringItems = {
  'rng:ring_strength_first_off': {
    removeTags: [
      'ring_strength_first',
      'ring_haste_first',
      'ring_jumpboost_first',
      'ring_nightvision_first',
      'ring_regeneration_first',
      'ring_resistance_first',
      'ring_speed_first'
    ],
    addTag: 'ring_strength_first',
    replaceItem: 'rng:ring_strength_first_on'
  },
  'rng:ring_strength_first_on': {
    removeTags: [
      'ring_strength_first'
    ],
    replaceItem: 'rng:ring_strength_first_off'
  },
  'rng:ring_strength_second_off': {
    removeTags: [
      'ring_strength_second',
      'ring_haste_second',
      'ring_jumpboost_second',
      'ring_nightvision_second',
      'ring_regeneration_second',
      'ring_resistance_second',
      'ring_speed_second'
    ],
    addTag: 'ring_strength_second',
    replaceItem: 'rng:ring_strength_second_on'
  },
  'rng:ring_strength_second_on': {
    removeTags: [
      'ring_strength_second'
    ],
    replaceItem: 'rng:ring_strength_second_off'
  },
  'rng:ring_speed_first_off': {
    removeTags: [
      'ring_speed_first',
      'ring_haste_first',
      'ring_jumpboost_first',
      'ring_nightvision_first',
      'ring_regeneration_first',
      'ring_resistance_first',
      'ring_strength_first'
    ],
    addTag: 'ring_speed_first',
    replaceItem: 'rng:ring_speed_first_on'
  },
  'rng:ring_speed_first_on': {
    removeTags: [
      'ring_speed_first'
    ],
    replaceItem: 'rng:ring_speed_first_off'
  },
  'rng:ring_speed_second_off': {
    removeTags: [
      'ring_speed_second',
      'ring_haste_second',
      'ring_jumpboost_second',
      'ring_nightvision_second',
      'ring_regeneration_second',
      'ring_resistance_second',
      'ring_strength_second'
    ],
    addTag: 'ring_speed_second',
    replaceItem: 'rng:ring_speed_second_on'
  },
  'rng:ring_speed_second_on': {
    removeTags: [
      'ring_speed_second'
    ],
    replaceItem: 'rng:ring_speed_second_off'
  },
  'rng:ring_haste_first_off': {
    removeTags: [
      'ring_haste_first',
      'ring_speed_first',
      'ring_jumpboost_first',
      'ring_nightvision_first',
      'ring_regeneration_first',
      'ring_resistance_first',
      'ring_strength_first'
    ],
    addTag: 'ring_haste_first',
    replaceItem: 'rng:ring_haste_first_on'
  },
  'rng:ring_haste_first_on': {
    removeTags: [
      'ring_haste_first'
    ],
    replaceItem: 'rng:ring_haste_first_off'
  },
  'rng:ring_haste_second_off': {
    removeTags: [
      'ring_haste_second',
      'ring_speed_second',
      'ring_jumpboost_second',
      'ring_nightvision_second',
      'ring_regeneration_second',
      'ring_resistance_second',
      'ring_strength_second'
    ],
    addTag: 'ring_haste_second',
    replaceItem: 'rng:ring_haste_second_on'
  },
  'rng:ring_haste_second_on': {
    removeTags: [
      'ring_haste_second'
    ],
    replaceItem: 'rng:ring_haste_second_off'
  },
  'rng:ring_jumpboost_first_off': {
    removeTags: [
      'ring_jumpboost_first',
      'ring_speed_first',
      'ring_haste_first',
      'ring_nightvision_first',
      'ring_regeneration_first',
      'ring_resistance_first',
      'ring_strength_first'
    ],
    addTag: 'ring_jumpboost_first',
    replaceItem: 'rng:ring_jumpboost_first_on'
  },
  'rng:ring_jumpboost_first_on': {
    removeTags: [
      'ring_jumpboost_first'
    ],
    replaceItem: 'rng:ring_jumpboost_first_off'
  },
  'rng:ring_jumpboost_second_off': {
    removeTags: [
      'ring_jumpboost_second',
      'ring_speed_second',
      'ring_haste_second',
      'ring_nightvision_second',
      'ring_regeneration_second',
      'ring_resistance_second',
      'ring_strength_second'
    ],
    addTag: 'ring_jumpboost_second',
    replaceItem: 'rng:ring_jumpboost_second_on'
  },
  'rng:ring_jumpboost_second_on': {
    removeTags: [
      'ring_jumpboost_second'
    ],
    replaceItem: 'rng:ring_jumpboost_second_off'
  },
  'rng:ring_regeneration_first_off': {
    removeTags: [
      'ring_regeneration_first',
      'ring_speed_first',
      'ring_haste_first',
      'ring_jumpboost_first',
      'ring_nightvision_first',
      'ring_resistance_first',
      'ring_strength_first'
    ],
    addTag: 'ring_regeneration_first',
    replaceItem: 'rng:ring_regeneration_first_on'
  },
  'rng:ring_regeneration_first_on': {
    removeTags: [
      'ring_regeneration_first'
    ],
    replaceItem: 'rng:ring_regeneration_first_off'
  },
  'rng:ring_regeneration_second_off': {
    removeTags: [
      'ring_regeneration_second',
      'ring_speed_second',
      'ring_haste_second',
      'ring_jumpboost_second',
      'ring_nightvision_second',
      'ring_resistance_second',
      'ring_strength_second'
    ],
    addTag: 'ring_regeneration_second',
    replaceItem: 'rng:ring_regeneration_second_on'
  },
  'rng:ring_regeneration_second_on': {
    removeTags: [
      'ring_regeneration_second'
    ],
    replaceItem: 'rng:ring_regeneration_second_off'
  },
  'rng:ring_resistance_first_off': {
    removeTags: [
      'ring_resistance_first',
      'ring_speed_first',
      'ring_haste_first',
      'ring_jumpboost_first',
      'ring_nightvision_first',
      'ring_regeneration_first',
      'ring_strength_first'
    ],
    addTag: 'ring_resistance_first',
    replaceItem: 'rng:ring_resistance_first_on'
  },
  'rng:ring_resistance_first_on': {
    removeTags: [
      'ring_resistance_first'
    ],
    replaceItem: 'rng:ring_resistance_first_off'
  },
  'rng:ring_resistance_second_off': {
    removeTags: [
      'ring_resistance_second',
      'ring_speed_second',
      'ring_haste_second',
      'ring_jumpboost_second',
      'ring_nightvision_second',
      'ring_regeneration_second',
      'ring_strength_second'
    ],
    addTag: 'ring_resistance_second',
    replaceItem: 'rng:ring_resistance_second_on'
  },
  'rng:ring_resistance_second_on': {
    removeTags: [
      'ring_resistance_second'
    ],
    replaceItem: 'rng:ring_resistance_second_off'
  }
};

const trinketItems = {
    'trr:adhesive_bandage_off': {
        removeTags: [
            'bezoar',
            'medicated_bandage',
            'fast_clock',
            'chorus_heart',
            'chorus_clock',
            'forbidden_fruit',
            'vitamins',
            'ankh_charm'
        ],
        addTag: 'adhesive_bandage',
        replaceItem: 'trr:adhesive_bandage_on'
    },
    'trr:adhesive_bandage_on': {
        removeTags: [
            'adhesive_bandage'
        ],
        replaceItem: 'trr:adhesive_bandage_off'
    },
    'trr:aglet_off': {
        removeTags: [
            'anklet_of_the_wind',
            'lucky_horseshoe',
            'obsidian_horseshoe',
            'dunerider_boots',
            'ice_skates',
            'flipper',
            'frog_leg',
            'frog_flipper',
            'flower_boots'
        ],
        addTag: 'aglet',
        replaceItem: 'trr:aglet_on'
    },
    'trr:aglet_on': {
        removeTags: [
            'aglet'
        ],
        replaceItem: 'trr:aglet_off'
    },
    'trr:ancient_chisel_off': {
        removeTags: [
            'valentine_ring',
            'band_of_regeneration',
            'feral_claws',
            'shackle',
            'handwarmer',
            'treasure_magnet',
            'shiny_red_balloon',
            'lucky_horseshoe_balloon',
            'obsidian_horseshoe_balloon'
        ],
        addTag: 'ancient_chisel',
        replaceItem: 'trr:ancient_chisel_on'
    },
    'trr:ancient_chisel_on': {
        removeTags: [
            'ancient_chisel'
        ],
        replaceItem: 'trr:ancient_chisel_off'
    },
    'trr:ankh_charm_off': {
        removeTags: [
            'adhesive_bandage',
            'bezoar',
            'medicated_bandage',
            'fast_clock',
            'chorus_heart',
            'chorus_clock',
            'forbidden_fruit',
            'vitamins'
        ],
        addTag: 'ankh_charm',
        replaceItem: 'trr:ankh_charm_on'
    },
    'trr:ankh_charm_on': {
        removeTags: [
            'ankh_charm'
        ],
        replaceItem: 'trr:ankh_charm_off'
    },
    'trr:ankh_shield_off': {
        removeTags: [
            'discount_card',
            'neptunes_shell',
            'cobalt_shield',
            'obsidian_shield'
        ],
        addTag: 'ankh_shield',
        replaceItem: 'trr:ankh_shield_on'
    },
    'trr:ankh_shield_on': {
        removeTags: [
            'ankh_shield'
        ],
        replaceItem: 'trr:ankh_shield_off'
    },
    'trr:anklet_of_the_wind_off': {
        removeTags: [
            'aglet',
            'lucky_horseshoe',
            'obsidian_horseshoe',
            'dunerider_boots',
            'ice_skates',
            'flipper',
            'frog_leg',
            'frog_flipper',
            'flower_boots'
        ],
        addTag: 'anklet_of_the_wind',
        replaceItem: 'trr:anklet_of_the_wind_on'
    },
    'trr:anklet_of_the_wind_on': {
        removeTags: [
            'anklet_of_the_wind'
        ],
        replaceItem: 'trr:anklet_of_the_wind_off'
    },
    'trr:band_of_regeneration_off': {
        removeTags: [
            'valentine_ring',
            'feral_claws',
            'shackle',
            'ancient_chisel',
            'handwarmer',
            'treasure_magnet',
            'shiny_red_balloon',
            'lucky_horseshoe_balloon',
            'obsidian_horseshoe_balloon'
        ],
        addTag: 'band_of_regeneration',
        replaceItem: 'trr:band_of_regeneration_on'
    },
    'trr:band_of_regeneration_on': {
        removeTags: [
            'band_of_regeneration'
        ],
        replaceItem: 'trr:band_of_regeneration_off'
    },
    'trr:bezoar_off': {
        removeTags: [
            'adhesive_bandage',
            'medicated_bandage',
            'fast_clock',
            'chorus_heart',
            'chorus_clock',
            'forbidden_fruit',
            'vitamins',
            'ankh_charm'
        ],
        addTag: 'bezoar',
        replaceItem: 'trr:bezoar_on'
    },
    'trr:bezoar_on': {
        removeTags: [
            'bezoar'
        ],
        replaceItem: 'trr:bezoar_off'
    },
    'trr:blindfold_off': {
        removeTags: [
            'bonnet',
            'obsidian_skull',
            'phantom_eye',
            'midnight_skull'
        ],
        addTag: 'blindfold',
        replaceItem: 'trr:blindfold_on'
    },
    'trr:blindfold_on': {
        removeTags: [
            'blindfold'
        ],
        replaceItem: 'trr:blindfold_off'
    },
    'trr:bonnet_off': {
        removeTags: [
            'blindfold',
            'obsidian_skull',
            'phantom_eye',
            'midnight_skull'
        ],
        addTag: 'bonnet',
        replaceItem: 'trr:bonnet_on'
    },
    'trr:bonnet_on': {
        removeTags: [
            'bonnet'
        ],
        replaceItem: 'trr:bonnet_off'
    },
    'trr:chorus_clock_off': {
        removeTags: [
            'adhesive_bandage',
            'bezoar',
            'medicated_bandage',
            'fast_clock',
            'chorus_heart',
            'forbidden_fruit',
            'vitamins',
            'ankh_charm'
        ],
        addTag: 'chorus_clock',
        replaceItem: 'trr:chorus_clock_on'
    },
    'trr:chorus_clock_on': {
        removeTags: [
            'chorus_clock'
        ],
        replaceItem: 'trr:chorus_clock_off'
    },
    'trr:chorus_heart_off': {
        removeTags: [
            'adhesive_bandage',
            'bezoar',
            'medicated_bandage',
            'fast_clock',
            'chorus_clock',
            'forbidden_fruit',
            'vitamins',
            'ankh_charm'
        ],
        addTag: 'chorus_heart',
        replaceItem: 'trr:chorus_heart_on'
    },
    'trr:chorus_heart_on': {
        removeTags: [
            'chorus_heart'
        ],
        replaceItem: 'trr:chorus_heart_off'
    },
    'trr:cobalt_shield_off': {
        removeTags: [
            'discount_card',
            'neptunes_shell',
            'obsidian_shield',
            'ankh_shield'
        ],
        addTag: 'cobalt_shield',
        replaceItem: 'trr:cobalt_shield_on'
    },
    'trr:cobalt_shield_on': {
        removeTags: [
            'cobalt_shield'
        ],
        replaceItem: 'trr:cobalt_shield_off'
    },
    'trr:discount_card_off': {
        removeTags: [
            'neptunes_shell',
            'cobalt_shield',
            'obsidian_shield',
            'ankh_shield'
        ],
        addTag: 'discount_card',
        replaceItem: 'trr:discount_card_on'
    },
    'trr:discount_card_on': {
        removeTags: [
            'discount_card'
        ],
        replaceItem: 'trr:discount_card_off'
    },
    'trr:dunerider_boots_off': {
        removeTags: [
            'aglet',
            'anklet_of_the_wind',
            'lucky_horseshoe',
            'obsidian_horseshoe',
            'ice_skates',
            'flipper',
            'frog_leg',
            'frog_flipper',
            'flower_boots'
        ],
        addTag: 'dunerider_boots',
        replaceItem: 'trr:dunerider_boots_on'
    },
    'trr:dunerider_boots_on': {
        removeTags: [
            'dunerider_boots'
        ],
        replaceItem: 'trr:dunerider_boots_off'
    },
    'trr:fast_clock_off': {
        removeTags: [
            'adhesive_bandage',
            'bezoar',
            'medicated_bandage',
            'chorus_heart',
            'chorus_clock',
            'forbidden_fruit',
            'vitamins',
            'ankh_charm'
        ],
        addTag: 'fast_clock',
        replaceItem: 'trr:fast_clock_on'
    },
    'trr:fast_clock_on': {
        removeTags: [
            'fast_clock'
        ],
        replaceItem: 'trr:fast_clock_off'
    },
    'trr:feral_claws_off': {
        removeTags: [
            'valentine_ring',
            'band_of_regeneration',
            'shackle',
            'ancient_chisel',
            'handwarmer',
            'treasure_magnet',
            'shiny_red_balloon',
            'lucky_horseshoe_balloon',
            'obsidian_horseshoe_balloon'
        ],
        addTag: 'feral_claws',
        replaceItem: 'trr:feral_claws_on'
    },
    'trr:feral_claws_on': {
        removeTags: [
            'feral_claws'
        ],
        replaceItem: 'trr:feral_claws_off'
    },
    'trr:flipper_off': {
        removeTags: [
            'aglet',
            'anklet_of_the_wind',
            'lucky_horseshoe',
            'obsidian_horseshoe',
            'dunerider_boots',
            'ice_skates',
            'frog_leg',
            'frog_flipper',
            'flower_boots'
        ],
        addTag: 'flipper',
        replaceItem: 'trr:flipper_on'
    },
    'trr:flipper_on': {
        removeTags: [
            'flipper'
        ],
        replaceItem: 'trr:flipper_off'
    },
    'trr:flower_boots_off': {
        removeTags: [
            'aglet',
            'anklet_of_the_wind',
            'lucky_horseshoe',
            'obsidian_horseshoe',
            'dunerider_boots',
            'ice_skates',
            'flipper',
            'frog_leg',
            'frog_flipper'
        ],
        addTag: 'flower_boots',
        replaceItem: 'trr:flower_boots_on'
    },
    'trr:flower_boots_on': {
        removeTags: [
            'flower_boots'
        ],
        replaceItem: 'trr:flower_boots_off'
    },
    'trr:forbidden_fruit_off': {
        removeTags: [
            'adhesive_bandage',
            'bezoar',
            'medicated_bandage',
            'fast_clock',
            'chorus_heart',
            'chorus_clock',
            'vitamins',
            'ankh_charm'
        ],
        addTag: 'forbidden_fruit',
        replaceItem: 'trr:forbidden_fruit_on'
    },
    'trr:forbidden_fruit_on': {
        removeTags: [
            'forbidden_fruit'
        ],
        replaceItem: 'trr:forbidden_fruit_off'
    },
    'trr:frog_flipper_off': {
        removeTags: [
            'aglet',
            'anklet_of_the_wind',
            'lucky_horseshoe',
            'obsidian_horseshoe',
            'dunerider_boots',
            'ice_skates',
            'flipper',
            'frog_leg',
            'flower_boots'
        ],
        addTag: 'frog_flipper',
        replaceItem: 'trr:frog_flipper_on'
    },
    'trr:frog_flipper_on': {
        removeTags: [
            'frog_flipper'
        ],
        replaceItem: 'trr:frog_flipper_off'
    },
    'trr:frog_leg_off': {
        removeTags: [
            'aglet',
            'anklet_of_the_wind',
            'lucky_horseshoe',
            'obsidian_horseshoe',
            'dunerider_boots',
            'ice_skates',
            'flipper',
            'frog_flipper',
            'flower_boots'
        ],
        addTag: 'frog_leg',
        replaceItem: 'trr:frog_leg_on'
    },
    'trr:frog_leg_on': {
        removeTags: [
            'frog_leg'
        ],
        replaceItem: 'trr:frog_leg_off'
    },
    'trr:handwarmer_off': {
        removeTags: [
            'valentine_ring',
            'band_of_regeneration',
            'feral_claws',
            'shackle',
            'ancient_chisel',
            'treasure_magnet',
            'shiny_red_balloon',
            'lucky_horseshoe_balloon',
            'obsidian_horseshoe_balloon'
        ],
        addTag: 'handwarmer',
        replaceItem: 'trr:handwarmer_on'
    },
    'trr:handwarmer_on': {
        removeTags: [
            'handwarmer'
        ],
        replaceItem: 'trr:handwarmer_off'
    },
    'trr:ice_skates_off': {
        removeTags: [
            'aglet',
            'anklet_of_the_wind',
            'lucky_horseshoe',
            'obsidian_horseshoe',
            'dunerider_boots',
            'flipper',
            'frog_leg',
            'frog_flipper',
            'flower_boots'
        ],
        addTag: 'ice_skates',
        replaceItem: 'trr:ice_skates_on'
    },
    'trr:ice_skates_on': {
        removeTags: [
            'ice_skates'
        ],
        replaceItem: 'trr:ice_skates_off'
    },
    'trr:jellyfish_necklace_off': {
        removeTags: [
            'magiluminescence'
        ],
        addTag: 'jellyfish_necklace',
        replaceItem: 'trr:jellyfish_necklace_on'
    },
    'trr:jellyfish_necklace_on': {
        removeTags: [
            'jellyfish_necklace'
        ],
        replaceItem: 'trr:jellyfish_necklace_off'
    },
    'trr:lucky_horseshoe_balloon_off': {
        removeTags: [
            'valentine_ring',
            'band_of_regeneration',
            'feral_claws',
            'shackle',
            'ancient_chisel',
            'handwarmer',
            'treasure_magnet',
            'shiny_red_balloon',
            'obsidian_horseshoe_balloon'
        ],
        addTag: 'lucky_horseshoe_balloon',
        replaceItem: 'trr:lucky_horseshoe_balloon_on'
    },
    'trr:lucky_horseshoe_balloon_on': {
        removeTags: [
            'lucky_horseshoe_balloon'
        ],
        replaceItem: 'trr:lucky_horseshoe_balloon_off'
    },
    'trr:lucky_horseshoe_off': {
        removeTags: [
            'aglet',
            'anklet_of_the_wind',
            'obsidian_horseshoe',
            'dunerider_boots',
            'ice_skates',
            'flipper',
            'frog_leg',
            'frog_flipper',
            'flower_boots'
        ],
        addTag: 'lucky_horseshoe',
        replaceItem: 'trr:lucky_horseshoe_on'
    },
    'trr:lucky_horseshoe_on': {
        removeTags: [
            'lucky_horseshoe'
        ],
        replaceItem: 'trr:lucky_horseshoe_off'
    },
    'trr:magiluminescence_off': {
        removeTags: [
            'jellyfish_necklace'
        ],
        addTag: 'magiluminescence',
        replaceItem: 'trr:magiluminescence_on'
    },
    'trr:shackle_off': {
        removeTags: [
            'valentine_ring',
            'band_of_regeneration',
            'feral_claws',
            'ancient_chisel',
            'handwarmer',
            'treasure_magnet',
            'shiny_red_balloon',
            'lucky_horseshoe_balloon',
            'obsidian_horseshoe_balloon'
        ],
        addTag: 'shackle',
        replaceItem: 'trr:shackle_on'
    },
    'trr:magiluminescence_on': {
        removeTags: [
            'magiluminescence'
        ],
        replaceItem: 'trr:magiluminescence_off'
    },
    'trr:medicated_bandage_off': {
        removeTags: [
            'adhesive_bandage',
            'bezoar',
            'fast_clock',
            'chorus_heart',
            'chorus_clock',
            'forbidden_fruit',
            'vitamins',
            'ankh_charm'
        ],
        addTag: 'medicated_bandage',
        replaceItem: 'trr:medicated_bandage_on'
    },
    'trr:medicated_bandage_on': {
        removeTags: [
            'medicated_bandage'
        ],
        replaceItem: 'trr:medicated_bandage_off'
    },
    'trr:midnight_skull_off': {
        removeTags: [
            'blindfold',
            'bonnet',
            'obsidian_skull',
            'phantom_eye'
        ],
        addTag: 'midnight_skull',
        replaceItem: 'trr:midnight_skull_on'
    },
    'trr:midnight_skull_on': {
        removeTags: [
            'midnight_skull'
        ],
        replaceItem: 'trr:midnight_skull_off'
    },
    'trr:neptunes_shell_off': {
        removeTags: [
            'discount_card',
            'cobalt_shield',
            'obsidian_shield',
            'ankh_shield'
        ],
        addTag: 'neptunes_shell',
        replaceItem: 'trr:neptunes_shell_on'
    },
    'trr:neptunes_shell_on': {
        removeTags: [
            'neptunes_shell'
        ],
        replaceItem: 'trr:neptunes_shell_off'
    },
    'trr:obsidian_horseshoe_balloon_off': {
        removeTags: [
            'valentine_ring',
            'band_of_regeneration',
            'feral_claws',
            'shackle',
            'ancient_chisel',
            'handwarmer',
            'treasure_magnet',
            'shiny_red_balloon',
            'lucky_horseshoe_balloon'
        ],
        addTag: 'obsidian_horseshoe_balloon',
        replaceItem: 'trr:obsidian_horseshoe_balloon_on'
    },
    'trr:obsidian_horseshoe_balloon_on': {
        removeTags: [
            'obsidian_horseshoe_balloon'
        ],
        replaceItem: 'trr:obsidian_horseshoe_balloon_off'
    },
    'trr:obsidian_horseshoe_off': {
        removeTags: [
            'aglet',
            'anklet_of_the_wind',
            'lucky_horseshoe',
            'dunerider_boots',
            'ice_skates',
            'flipper',
            'frog_leg',
            'frog_flipper',
            'flower_boots'
        ],
        addTag: 'obsidian_horseshoe',
        replaceItem: 'trr:obsidian_horseshoe_on'
    },
    'trr:obsidian_horseshoe_on': {
        removeTags: [
            'obsidian_horseshoe'
        ],
        replaceItem: 'trr:obsidian_horseshoe_off'
    },
    'trr:obsidian_shield_off': {
        removeTags: [
            'discount_card',
            'neptunes_shell',
            'cobalt_shield',
            'ankh_shield'
        ],
        addTag: 'obsidian_shield',
        replaceItem: 'trr:obsidian_shield_on'
    },
    'trr:obsidian_shield_on': {
        removeTags: [
            'obsidian_shield'
        ],
        replaceItem: 'trr:obsidian_shield_off'
    },
    'trr:obsidian_skull_off': {
        removeTags: [
            'blindfold',
            'bonnet',
            'phantom_eye',
            'midnight_skull'
        ],
        addTag: 'obsidian_skull',
        replaceItem: 'trr:obsidian_skull_on'
    },
    'trr:obsidian_skull_on': {
        removeTags: [
            'obsidian_skull'
        ],
        replaceItem: 'trr:obsidian_skull_off'
    },
    'trr:phantom_eye_off': {
        removeTags: [
            'blindfold',
            'bonnet',
            'obsidian_skull',
            'midnight_skull'
        ],
        addTag: 'phantom_eye',
        replaceItem: 'trr:phantom_eye_on'
    },
    'trr:phantom_eye_on': {
        removeTags: [
            'phantom_eye'
        ],
        replaceItem: 'trr:phantom_eye_off'
    },
    'trr:shackle_on': {
        removeTags: [
            'shackle'
        ],
        replaceItem: 'trr:shackle_off'
    },
    'trr:shiny_red_balloon_off': {
        removeTags: [
            'valentine_ring',
            'band_of_regeneration',
            'feral_claws',
            'shackle',
            'ancient_chisel',
            'handwarmer',
            'treasure_magnet',
            'lucky_horseshoe_balloon',
            'obsidian_horseshoe_balloon'
        ],
        addTag: 'shiny_red_balloon',
        replaceItem: 'trr:shiny_red_balloon_on'
    },
    'trr:shiny_red_balloon_on': {
        removeTags: [
            'shiny_red_balloon'
        ],
        replaceItem: 'trr:shiny_red_balloon_off'
    },
    'trr:valentine_ring_off': {
        removeTags: [
            'band_of_regeneration',
            'feral_claws',
            'shackle',
            'ancient_chisel',
            'handwarmer',
            'treasure_magnet',
            'shiny_red_balloon',
            'lucky_horseshoe_balloon',
            'obsidian_horseshoe_balloon'
        ],
        addTag: 'valentine_ring',
        replaceItem: 'trr:valentine_ring_on'
    },
    'trr:valentine_ring_on': {
        removeTags: [
            'valentine_ring'
        ],
        replaceItem: 'trr:valentine_ring_off'
    },
    'trr:vitamins_off': {
        removeTags: [
            'adhesive_bandage',
            'bezoar',
            'medicated_bandage',
            'fast_clock',
            'chorus_heart',
            'chorus_clock',
            'forbidden_fruit',
            'ankh_charm'
        ],
        addTag: 'vitamins',
        replaceItem: 'trr:vitamins_on'
    },
    'trr:vitamins_on': {
        removeTags: [
            'vitamins'
        ],
        replaceItem: 'trr:vitamins_off'
    }
};

const leaves = [
  "minecraft:oak_leaves",
  "minecraft:spruce_leaves",
  "minecraft:birch_leaves",
  "minecraft:jungle_leaves",
  "minecraft:acacia_leaves",
  "minecraft:dark_oak_leaves"
];

const cropTypes = {
	'minecraft:wheat': {
		perm: 'growth',
		value: 7
	},
	'minecraft:potatoes': {
		perm: 'growth',
		value: 7
		},
	'minecraft:carrots': {
		perm: 'growth',
		value: 7
	},
	'minecraft:beetroot': {
		perm: 'growth',	
		value: 7
	},
	'minecraft:nether_wart': {
		perm: 'age',
		value: 7
	}
};

const logTypes = {
	'minecraft:stripped_oak_log': {stateValue:2,logType:1},
	'minecraft:stripped_birch_log': {stateValue:3,logType:1},
	'minecraft:stripped_spruce_log': {stateValue:4,logType:1},
	'minecraft:stripped_jungle_log': {stateValue:5,logType:1},
	'minecraft:stripped_acacia_log': {stateValue:6,logType:1},
	'minecraft:stripped_dark_oak_log': {stateValue:7,logType:1},
	'minecraft:stripped_mangrove_log': {stateValue:8,logType:1},
	'minecraft:stripped_cherry_log': {stateValue:9,logType:1},
	'minecraft:stripped_pale_oak_log': {stateValue:10,logType:1},
	'minecraft:stripped_crimson_stem': {stateValue:11,logType:1},
	'minecraft:stripped_warped_stem': {stateValue:12,logType:1},
	'minecraft:oak_planks': {stateValue:2,logType:2},
	'minecraft:birch_planks': {stateValue:3,logType:2},
	'minecraft:spruce_planks': {stateValue:4,logType:2},
	'minecraft:jungle_planks': {stateValue:5,logType:2},
	'minecraft:acacia_planks': {stateValue:6,logType:2},
	'minecraft:dark_oak_planks': {stateValue:7,logType:2},
	'minecraft:mangrove_planks': {stateValue:8,logType:2},
	'minecraft:cherry_planks': {stateValue:9,logType:2},
	'minecraft:pale_oak_planks': {stateValue:10,logType:2},
	'minecraft:crimson_planks': {stateValue:11,logType:2},
	'minecraft:warped_planks': {stateValue:12,logType:2},
	1: {
		2: 'blocks/plank_oak',
		3: 'blocks/plank_birch',
		4: 'blocks/plank_spruce',
		5: 'blocks/plank_jungle',
		6: 'blocks/plank_acacia',
		7: 'blocks/plank_darkoak',
		8: 'blocks/plank_mangrove',
		9: 'blocks/plank_cherry',
		10: 'blocks/plank_pale_oak',
		11: 'blocks/plank_crimson',
		12: 'blocks/plank_warped'
	},
	2: {
		2: 'blocks/sticks',
		3: 'blocks/sticks',
		4: 'blocks/sticks',
		5: 'blocks/sticks',
		6: 'blocks/sticks',
		7: 'blocks/sticks',
		8: 'blocks/sticks',
		9: 'blocks/sticks',
		10: 'blocks/sticks',
		11: 'blocks/sticks',
		12: 'blocks/sticks'
	}
};
const logs = [
	'minecraft:oak_log','minecraft:oak_wood','minecraft:oak_planks','minecraft:birch_log','minecraft:birch_wood','minecraft:birch_planks','minecraft:acacia_log','minecraft:acacia_wood','minecraft:acacia_planks','minecraft:dark_oak_log','minecraft:dark_oak_wood','minecraft:dark_oak_planks','minecraft:cherry_log','minecraft:cherry_wood','minecraft:cherry_planks','minecraft:pale_oak_log','minecraft:pale_oak_wood','minecraft:pale_oak_planks','minecraft:spruce_log','minecraft:spruce_wood','minecraft:spruce_planks','minecraft:jungle_log','minecraft:jungle_wood','minecraft:jungle_planks','minecraft:mangrove_log','minecraft:mangrove_wood','minecraft:mangrove_planks','minecraft:crimson_stem','minecraft:crimson_hyphae','minecraft:crimson_planks','minecraft:warped_stem','minecraft:warped_hyphae','minecraft:warped_planks','minecraft:stripped_oak_log','minecraft:stripped_oak_wood','minecraft:stripped_birch_log','minecraft:stripped_birch_wood','minecraft:stripped_acacia_log','minecraft:stripped_acacia_wood','minecraft:stripped_dark_oak_log','minecraft:stripped_dark_oak_wood','minecraft:stripped_cherry_log','minecraft:stripped_cherry_wood','minecraft:stripped_pale_oak_log','minecraft:stripped_pale_oak_wood','minecraft:stripped_spruce_log','minecraft:stripped_spruce_wood','minecraft:stripped_jungle_log','minecraft:stripped_jungle_wood','minecraft:stripped_mangrove_log','minecraft:stripped_mangrove_wood','minecraft:stripped_crimson_stem','minecraft:stripped_crimson_hyphae','minecraft:stripped_warped_stem','minecraft:stripped_warped_hyphae',
];
const dropsFiber = [
	'minecraft:tall_grass','minecraft:short_grass','minecraft:fern','minecraft:large_fern','minecraft:oak_leaves','minecraft:acacia_leaves','minecraft:birch_leaves','minecraft:dark_oak_leaves','minecraft:jungle_leaves','minecraft:spruce_leaves','minecraft:mangrove_leaves','minecraft:azalea_leaves','minecraft:azalea_leaves_flowered','minecraft:cherry_leaves','minecraft:pale_oak_leaves'
];

const fishingRod = {
    "azc:diamond_fishing_rod_double": {
        sound: "random.bow",
        projectile: "azc:double_iron_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:diamond_fishing_rod_golden": {
        sound: "random.bow",
        projectile: "azc:golden_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:diamond_fishing_rod_redstone": {
        sound: "random.bow",
        projectile: "azc:redstone_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:diamond_fishing_rod_usual": {
        sound: "random.bow",
        projectile: "azc:iron_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:golden_fishing_rod_double": {
        sound: "random.bow",
        projectile: "azc:double_iron_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:golden_fishing_rod_golden": {
        sound: "random.bow",
        projectile: "azc:golden_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:golden_fishing_rod_redstone": {
        sound: "random.bow",
        projectile: "azc:redstone_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:golden_fishing_rod_usual": {
        sound: "random.bow",
        projectile: "azc:iron_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:iron_fishing_rod_double": {
        sound: "random.bow",
        projectile: "azc:double_iron_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:iron_fishing_rod_golden": {
        sound: "random.bow",
        projectile: "azc:golden_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:iron_fishing_rod_redstone": {
        sound: "random.bow",
        projectile: "azc:redstone_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:iron_fishing_rod_usual": {
        sound: "random.bow",
        projectile: "azc:iron_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:neptunium_fishing_rod_double": {
        sound: "random.bow",
        projectile: "azc:neptunium_double_iron_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:neptunium_fishing_rod_golden": {
        sound: "random.bow",
        projectile: "azc:neptunium_golden_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:neptunium_fishing_rod_nether_star": {
        sound: "random.bow",
        projectile: "azc:nether_star_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:neptunium_fishing_rod_redstone": {
        sound: "random.bow",
        projectile: "azc:neptunium_redstone_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:neptunium_fishing_rod_usual": {
        sound: "random.bow",
        projectile: "azc:neptunium_iron_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:wooden_fishing_rod_double": {
        sound: "random.bow",
        projectile: "azc:double_iron_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:wooden_fishing_rod_golden": {
        sound: "random.bow",
        projectile: "azc:golden_hook",
        launch_power: 1,
        damage: 1
    },
    "azc:wooden_fishing_rod_redstone": {
        sound: "random.bow",
        projectile: "azc:redstone_hook",
        launch_power: 1,
        damage: 1
    },
	'adv:blazing_fishing_pole': {
		sound: 'random.bow',
		projectile: 'adv:blazing_hook',
		launch_power: 1,
		damage: 1
	},
	'adv:blazing_fishing_pole_double': {
		sound: 'random.bow',
		projectile: 'adv:double_obsidian_hook',
		launch_power: 1,
		damage: 1
	},
	'adv:blazing_fishing_pole_glow': {
		sound: 'random.bow',
		projectile: 'adv:glowstone_hook',
		launch_power: 1,
		damage: 1
	},
	'adv:blazing_fishing_pole_soul': {
		sound: 'random.bow',
		projectile: 'adv:soulsand_hook',
		launch_power: 1,
		damage: 1
	}
};
const fishTrapLoot = {
	'azc:golden_fish_trap': {
		weight: 95,
		loot: 'azc:trap_lucky_loot'
	},
	'azc:iron_fish_trap': {
		weight: 85,
		loot: 'azc:trap_double_loot'
	},
	'azc:redstone_fish_trap': {
		weight: 85,
		loot: 'azc:trap_loot'
	},
	'azc:wooden_fish_trap': {
		weight: 85,
		loot: 'azc:trap_double_loot'
	},
};
const buckets = {
	'azc:unbucket_arapaima': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:arapaima',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_arrau_turtle': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:arrau_turtle',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_atlantic_cod': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:atlantic_cod',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_atlantic_halibut': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:atlantic_halibut',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_atlantic_herring': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:atlantic_herring',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_azc_squid': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:azc_squid',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_bayad': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:bayad',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_blackfish': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:blackfish',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_bluegill': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:bluegill',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_boulti': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:boulti',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_box_turtle': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:box_turtle',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_powder_snow'
	},
	'azc:unbucket_brown_shrooma': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:brown_shrooma',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_brown_trout': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:brown_trout',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_capitaine': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:capitaine',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_carp': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:carp',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_catfish': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:catfish',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_electric_eel': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:electric_eel',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_gar': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:gar',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_goldfish': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:goldfish',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_jellyfish': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:jellyfish',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_minnow': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:minnow',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_muskellunge': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:muskellunge',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_pacific_halibut': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:pacific_halibut',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_perch': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:perch',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_pink_salmon': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:pink_salmon',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_piranha': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:piranha',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_pollock': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:pollock',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_rainbow_trout': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:rainbow_trout',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_red_grouper': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:red_grouper',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_red_shrooma': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:red_shrooma',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_smallmouth_bass': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:smallmouth_bass',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_starshell_turtle': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:starshell_turtle',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_synodontis': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:synodontis',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_tambaqui': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:tambaqui',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_tuna': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:tuna',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_abyssal_lurker': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:abyssal_lurker',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_adv_catfish': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:adv_catfish',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_adv_jellyfish': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:adv_jellyfish',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_adv_piranha': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:adv_piranha',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_angelfish': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:angelfish',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_angler_fish': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:angler_fish',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_bonefish': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:bonefish',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_brown_shroomfin': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:brown_shroomfin',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_cave_trout': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:cave_trout',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_charged_bullhead': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:charged_bullhead',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_crystal_mullet': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:crystal_mullet',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_cursed_koi': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:cursed_koi',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_explosive_crucian': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:explosive_crucian',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_frost_minnow': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:frost_minnow',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_glacier_anchovy': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:glacier_anchovy',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_golden_koi': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:golden_koi',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_green_jellyfish': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:green_jellyfish',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_magikarp': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:magikarp',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_mandarinfish': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:mandarinfish',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_mud_tuna': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:mud_tuna',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_pike': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:pike',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_red_shroomfin': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:red_shroomfin',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_ruffe': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:ruffe',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_sandy_bass': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:sandy_bass',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_snowy_walleye': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:snowy_walleye',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_sparkling_eel': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:sparkling_eel',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_specular_snapper': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:specular_snapper',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_sponge_eater': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:sponge_eater',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_spookyfin': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:spookyfin',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
	'azc:unbucket_sunfish': {
		setBlock: 'minecraft:flowing_water',
		spawnEntity: 'azc:sunfish',
		transform: 'minecraft:bucket',
		playSound: 'bucket.empty_fish'
	},
    'adv:unbucket_abyssal_lurker': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:abyssal_lurker',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_adv_catfish': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:adv_catfish',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_adv_jellyfish': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:adv_jellyfish',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_adv_piranha': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:adv_piranha',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_angelfish': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:angelfish',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_angler_fish': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:angler_fish',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_bonefish': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:bonefish',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_brown_shroomfin': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:brown_shroomfin',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_cave_trout': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:cave_trout',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_charged_bullhead': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:charged_bullhead',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_crystal_mullet': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:crystal_mullet',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_cursed_koi': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:cursed_koi',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_explosive_crucian': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:explosive_crucian',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_frost_minnow': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:frost_minnow',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_glacier_anchovy': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:glacier_anchovy',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_golden_koi': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:golden_koi',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_green_jellyfish': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:green_jellyfish',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_magikarp': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:magikarp',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_mandarinfish': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:mandarinfish',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_mud_tuna': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:mud_tuna',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_pike': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:pike',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_red_shroomfin': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:red_shroomfin',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_ruffe': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:ruffe',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_sandy_bass': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:sandy_bass',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_snowy_walleye': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:snowy_walleye',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_sparkling_eel': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:sparkling_eel',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_specular_snapper': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:specular_snapper',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_sponge_eater': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:sponge_eater',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_spookyfin': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:spookyfin',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    },
    'adv:unbucket_sunfish': {
        setBlock: 'minecraft:flowing_water',
        spawnEntity: 'adv:sunfish',
        transform: 'minecraft:bucket',
        playSound: 'bucket.empty_fish'
    }
};
const lootBox = {
	'azc:box': {
		pools: [
			{
				rolls: {min: 1,max: 1},
				weight: 100,
				stop: true,
				entries: [
					{
						item: 'minecraft:gravel',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:cobblestone',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:stick',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:bone',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:rotten_flesh',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:flint',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:clay_ball',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:leather',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:feather',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:coal',
						count: {min: 1,max: 1},
						weight: 25,
						stop: true
					},
					{
						item: 'minecraft:charcoal',
						count: {min: 1,max: 1},
						weight: 25,
						stop: true
					},
					{
						item: 'minecraft:wheat_seeds',
						count: {min: 1,max: 1},
						weight: 25,
						stop: true
					},
					{
						item: 'minecraft:bowl',
						count: {min: 1,max: 1},
						weight: 25,
						stop: true
					},
					{
						item: 'minecraft:tallgrass',
						count: {min: 1,max: 1},
						weight: 25,
						stop: true
					},
					{
						item: 'minecraft:string',
						count: {min: 1,max: 1},
						weight: 25,
						stop: true
					},
					{
						item: 'minecraft:leather_helmet',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:leather_chestplate',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:leather_leggings',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:leather_boots',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:stone',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:dirt',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:bucket',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:slime_ball',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:sugar_cane',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:glass_bottle',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:carrot',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:potato',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:vine',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					},
					{
						item: 'minecraft:apple',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					}
				]
			}
		]
	},
	'azc:lockbox': {
		pools: [
			{
				rolls: {min: 1,max: 1},
				weight: 100,
				stop: true,
				entries: [
					{
						item: 'minecraft:book',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:paper',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:compass',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:gunpowder',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:iron_ingot',
						count: {min: 1,max: 1},
						weight: 25,
						stop: true
					},
					{
						item: 'minecraft:yellow_flower',
						count: {min: 1,max: 1},
						weight: 25,
						stop: true
					},
					{
						item: 'minecraft:redstone',
						count: {min: 1,max: 1},
						weight: 25,
						stop: true
					},
					{
						item: 'minecraft:gold_ingot',
						count: {min: 1,max: 1},
						weight: 25,
						stop: true
					},
					{
						item: 'minecraft:glowstone_dust',
						count: {min: 1,max: 1},
						weight: 25,
						stop: true
					},
					{
						item: 'minecraft:golden_apple',
						count: {min: 1,max: 1},
						weight: 13,
						stop: true
					}
				]
			}
		]
	},
	'azc:treasure_chest': {
		pools: [
			{
				rolls: {min: 1,max: 1},
				weight: 100,
				stop: true,
				entries: [
					{
						item: 'minecraft:iron_ingot',
						count: {min: 1,max: 1},
						weight: 40,
						stop: true
					},
					{
						item: 'minecraft:gold_ingot',
						count: {min: 1,max: 1},
						weight: 25,
						stop: true
					},
					{
						item: 'minecraft:copper_ingot',
						count: {min: 1,max: 1},
						weight: 20,
						stop: true
					},
					{
						item: 'minecraft:diamond',
						count: {min: 1,max: 1},
						weight: 10,
						stop: true
					},
					{
						item: 'minecraft:emerald',
						count: {min: 1,max: 1},
						weight: 5,
						stop: true
					}
				]
			}
		]
	},
};
const msgInDaBottle = [
	'Oh no! Your fish are escaping!',
	'There\'s a metal that can be obtained by... fishing?',
	'I have to bottling up my messages since there\'s no post office',
	'Help me out of this bottle!',
	'My base destroyed, Please help me!',
	'Hey you over there! I think i see you!',
	'Serious, DON\'T LITTER away your junks!',
	'Property of Coca-Cola',
	'Warning: This bottle may choking when eaten',
	'If you get this message, I\'m you from the future, DON\'T eat the bottle',
	'From Davy Jones...',
	'25.0000° N, 71.0000° W',
	'It\'s Neptunium!',
	'Don\'t stick with wooden fishing rod! Upgrade it!',
	'Do you have Fish Allergy? Is it even exist?',
	'Whale Burger? Breads & Steak! Yum!',
	'Do you fear death? Do you fear that dark abyss?, I can offer you... an escape',
	'Eat the bottle for free Neptunium Ingots!',
	'Ow! I got a Sushi...',
	'I\'m eating the bottle',
	'This bottle is EDIBLE',
	'There\'s a metal that\'s powerful when used underflowing_water ~Zhyuro',
	'Azureculture 5 when?',
	'Hi!',
	'I\'m in love with Sushiverse',
	'404',
	'Here\'s one crazy feature, Pattern Labels ~Stratospheer',
	'§o...The message magically fades from your face...',
	'Open your inventory, Close it & Now this message is NEPTUNIUM INGOTS! Nah just kidding',
	'Recycle the bottle for 5 Neptunium Ingots',
	'Kira is making Azureculture 5!',
	'Let me know your name, i will give you 5 NEPTUNIUM INGOTS! ~Kira',
	'Who owns Authentic book!?',
	'DLCraft 2 when?',
	'I ate the bottle',
];

const experienceTome = {
	'xtm:experience_tome_three_full': {
		addExp: 27
	},
	'xtm:experience_tome_six_full': {
		addExp: 72
	},
	'xtm:experience_tome_ten_full': {
		addExp: 160
	},
	'xtm:experience_tome_fifteen_full': {
		addExp: 315
	},
	'xtm:experience_tome_thirty_full': {
		addExp: 1395
	}
};

const ores = [
	'minecraft:coal_ore','minecraft:deepslate_coal_ore','minecraft:quartz_ore','minecraft:nether_gold_ore','minecraft:iron_ore','minecraft:deepslate_iron_ore','minecraft:lapis_ore','minecraft:deepslate_lapis_ore','minecraft:copper_ore','minecraft:deepslate_copper_ore','minecraft:gold_ore','minecraft:deepslate_gold_ore','minecraft:diamond_ore','minecraft:deepslate_diamond_ore','minecraft:redstone_ore','minecraft:deepslate_redstone_ore','minecraft:lit_redstone_ore','minecraft:lit_deepslate_redstone_ore','minecraft:emerald_ore','minecraft:deepslate_emerald_ore'
];

export {skillRequirements,foods,magicItems,magicWeapons,bossBlocks,layeredBlocks,cropBlocks,cakes,enchantments,potions,projectiles,axes,shovels,hoes,pickaxesState,axesState,shovelsState,hoesState,pickUpItems,grassTypes,invItemEffects,armourEffects,mainHandItemEffects,offHandItemEffects,effects,ringItems,trinketItems,leaves,cropTypes,logTypes,logs,dropsFiber,fishingRod,fishTrapLoot,buckets,lootBox,msgInDaBottle,experienceTome,ores};
